Index: third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp |
diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp |
index cc06d4a84ffa768d2562263632f4bc878371f461..76574e79747c487f73602d2d85eac8fc0873ade6 100644 |
--- a/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp |
+++ b/third_party/WebKit/Source/core/paint/ObjectPaintInvalidator.cpp |
@@ -225,7 +225,7 @@ void ObjectPaintInvalidator::setBackingNeedsPaintInvalidationInRect(const Layout |
} else if (m_object.compositedScrollsWithRespectTo(paintInvalidationContainer)) { |
layer.compositedLayerMapping()->setScrollingContentsNeedDisplayInRect(rect, reason, m_object); |
} else if (paintInvalidationContainer.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(m_object).layoutOverflowRect(); |