| Index: third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| index 33a0c38ff2982f0d00306642341827d255aba458..01ccaf4b1932105d0aba00eae837d25d195199a2 100644
|
| --- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
|
| @@ -242,7 +242,7 @@ void PaintInvalidationState::updateForChildren()
|
| if (box.usesCompositedScrolling())
|
| ASSERT(!m_clipped); // The box should establish paint invalidation container, so no m_clipped inherited.
|
| else
|
| - addClipRectRelativeToPaintOffset(LayoutRect(LayoutPoint(), LayoutSize(box.layer()->size())));
|
| + addClipRectRelativeToPaintOffset(box.overflowClipRect(LayoutPoint()));
|
|
|
| m_paintOffset -= box.scrolledContentOffset();
|
|
|
|
|