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; |