Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h |
index e082adae86f850d29ba4a320bb99ce0157582dd7..fa8be89b3c710c0b4072a20e7e2e566110cb0598 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h |
@@ -529,6 +529,11 @@ class CORE_EXPORT LayoutBoxModelObject : public LayoutObject { |
LayoutObject* beforeChild, |
bool fullRemoveInsert = false); |
+ // Non-composited scrolling should be included in the bounds of scrolled |
+ // items. Since mapToVisualRectInAncestorSpace does not include scrolling of |
+ // the ancestor, we need to add it back in after. |
+ IntSize scrollAdjustmentForPaintInvalidation() const; |
+ |
private: |
void createLayer(); |