Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(642)

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.h

Issue 2238883006: SPv2: Use GeometryMapper to implement PaintLayerClipper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: none Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..0d91b02867262c9016d0f1ee39703466e7af6fea 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::slimmingPaintV2Enabled());
+ }
bool scrollsOverflow() const;

Powered by Google App Engine
This is Rietveld 408576698