Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: sky/engine/core/frame/LocalDOMWindow.cpp

Issue 878303002: Remove more scrolling code from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/frame/FrameView.cpp ('k') | sky/engine/core/frame/LocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/frame/LocalDOMWindow.cpp
diff --git a/sky/engine/core/frame/LocalDOMWindow.cpp b/sky/engine/core/frame/LocalDOMWindow.cpp
index a5df018be0785013d00acc8dc079335654c9f5b5..60b198bb7d1aa6117cc07d41028ad2ace0a47566 100644
--- a/sky/engine/core/frame/LocalDOMWindow.cpp
+++ b/sky/engine/core/frame/LocalDOMWindow.cpp
@@ -480,7 +480,7 @@ int LocalDOMWindow::innerHeight() const
if (!view)
return 0;
- return view->visibleContentRect(IncludeScrollbars).height();
+ return view->visibleContentRect().height();
}
int LocalDOMWindow::innerWidth() const
@@ -492,7 +492,7 @@ int LocalDOMWindow::innerWidth() const
if (!view)
return 0;
- return view->visibleContentRect(IncludeScrollbars).width();
+ return view->visibleContentRect().width();
}
int LocalDOMWindow::screenX() const
« no previous file with comments | « sky/engine/core/frame/FrameView.cpp ('k') | sky/engine/core/frame/LocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698