Index: sky/engine/core/rendering/RenderView.cpp |
diff --git a/sky/engine/core/rendering/RenderView.cpp b/sky/engine/core/rendering/RenderView.cpp |
index 5c6d936d541d00a5508ba23f60f878603109b1ae..8f5a7dd127c4577ff3aae2fb25c20b94b3263a3a 100644 |
--- a/sky/engine/core/rendering/RenderView.cpp |
+++ b/sky/engine/core/rendering/RenderView.cpp |
@@ -249,7 +249,7 @@ void RenderView::computeSelfHitTestRects(Vector<LayoutRect>& rects, const Layout |
// Record the entire size of the contents of the frame. Note that we don't just |
// use the viewport size (containing block) here because we want to ensure this includes |
// all children (so we can avoid walking them explicitly). |
- rects.append(LayoutRect(LayoutPoint::zero(), frameView()->contentsSize())); |
+ rects.append(LayoutRect(LayoutPoint::zero(), frameView()->size())); |
} |
void RenderView::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset) |
@@ -378,10 +378,6 @@ void RenderView::mapRectToPaintInvalidationBacking(const RenderLayerModelObject* |
if (viewportConstraint == IsFixedPosition && m_frameView) { |
rect.move(m_frameView->scrollOffsetForFixedPosition()); |
- // If we have a pending scroll, invalidate the previous scroll position. |
- if (!m_frameView->pendingScrollDelta().isZero()) { |
- rect.move(-m_frameView->pendingScrollDelta()); |
- } |
} |
// Apply our transform if we have one (because of full page zooming). |