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 d83f1633504c0f04c338ede0370b2395be6c27fd..d52fa0529b284cb454a5617c79ef0793aa0f768a 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
@@ -434,7 +434,7 @@ void LayoutBoxModelObject::setBackingNeedsPaintInvalidationInRect(const LayoutRe |
} else if (object.compositedScrollsWithRespectTo(*this)) { |
layer()->compositedLayerMapping()->setScrollingContentsNeedDisplayInRect(r, invalidationReason, object); |
} else if (usesCompositedScrolling()) { |
- if (layer()->compositedLayerMapping()->shouldPaintBackgroundOntoScrollingContentsLayer()) { |
+ if (layer()->compositedLayerMapping()->backgroundPaintsOntoScrollingContentsLayer()) { |
// TODO(flackr): Get a correct rect in the context of the scrolling contents layer to update |
// rather than updating the entire rect. |
const LayoutRect& scrollingContentsRect = toLayoutBox(this)->layoutOverflowRect(); |