Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index 93aade61f3fcfd4d48cf4bc614194e1c05122aa4..e24e88a1d2d6e8b8ac95f5f37e1c8cbf5eff7e10 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -2031,7 +2031,7 @@ IntRect FrameView::windowClipRect(IncludeScrollbarsInRect scrollbarInclusion) co |
ASSERT(m_frame->view() == this); |
LayoutRect clipRect(LayoutPoint(), LayoutSize(visibleContentSize(scrollbarInclusion))); |
- layoutView()->mapToVisibleRectInContainerSpace(&layoutView()->containerForPaintInvalidation(), clipRect, nullptr); |
+ layoutView()->mapToVisibleRectInAncestorSpace(&layoutView()->containerForPaintInvalidation(), clipRect, nullptr); |
return enclosingIntRect(clipRect); |
} |