Merge Document::viewportSize() logic into RenderView::viewportSize().
<https://webkit.org/b/120254> Reviewed by Darin Adler. RenderView can just ask FrameView (the viewport) about its size directly, no need for a weirdly-placed method on Document. * dom/Document.cpp: * rendering/RenderView.cpp: (WebCore::RenderView::viewportSize): * rendering/RenderView.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Showing with 21 additions and 10 deletions