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

Unified Diff: sky/engine/core/dom/ContainerNode.cpp

Issue 646273006: Get rid of ScrollView. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: merge to ToT Created 6 years, 2 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 | « no previous file | sky/engine/core/editing/EditorCommand.cpp » ('j') | sky/engine/core/frame/FrameView.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/ContainerNode.cpp
diff --git a/sky/engine/core/dom/ContainerNode.cpp b/sky/engine/core/dom/ContainerNode.cpp
index c17335de58b53a2fb338449f451a403ee9d308f0..08efef0b473a3d9a738c5fb655613c086cd33187 100644
--- a/sky/engine/core/dom/ContainerNode.cpp
+++ b/sky/engine/core/dom/ContainerNode.cpp
@@ -831,7 +831,7 @@ bool ContainerNode::getUpperLeftCorner(FloatPoint& point) const
// If the target doesn't have any children or siblings that could be used to calculate the scroll position, we must be
// at the end of the document. Scroll to the bottom. FIXME: who said anything about scrolling?
if (!o && document().view()) {
- point = FloatPoint(0, document().view()->contentsHeight());
+ point = FloatPoint(0, document().view()->height());
return true;
}
return false;
« no previous file with comments | « no previous file | sky/engine/core/editing/EditorCommand.cpp » ('j') | sky/engine/core/frame/FrameView.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698