| Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| index 1076826b28bd9a6aa4651db6a5eb340c0e3a0ee0..dc8637d6741ef5b2cff8c6c5b11c73274e354e97 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
| @@ -1474,4 +1474,10 @@ bool LayoutBoxModelObject::backgroundStolenForBeingBody(
|
| return true;
|
| }
|
|
|
| +IntSize LayoutBoxModelObject::scrollAdjustmentForPaintInvalidation() const {
|
| + if (!hasOverflowClip() || usesCompositedScrolling())
|
| + return IntSize();
|
| + return -toLayoutBox(this)->scrolledContentOffset();
|
| +}
|
| +
|
| } // namespace blink
|
|
|