Index: third_party/WebKit/Source/core/paint/PaintLayer.h |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h |
index 1fe75502941ff79698d21c7cea3cb5d73970b4ac..48744179dbea7912f120862c1b257f3c8d39b3fc 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h |
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h |
@@ -614,7 +614,10 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient { |
return m_scrollableArea.get(); |
} |
- PaintLayerClipper clipper() const { return PaintLayerClipper(*this); } |
+ PaintLayerClipper clipper() const { |
+ return PaintLayerClipper( |
+ *this, RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()); |
+ } |
bool scrollsOverflow() const; |