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

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

Issue 2671853003: [SPInvalidation] Use GeometryMapper in PaintLayerClipper for paint. (Closed)
Patch Set: Merge branch 'master' into paintlayerclipper Created 3 years, 10 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 8d32388ac66cdab0cfb7b85f5bb8ac13487722df..4a7719a0a71610db74226d475874e0c37b3d9eed 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -626,10 +626,9 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
return m_scrollableArea.get();
}
- PaintLayerClipper clipper() const {
- return PaintLayerClipper(*this,
- RuntimeEnabledFeatures::slimmingPaintV2Enabled());
- }
+ enum GeometryMapperOption { UseGeometryMapper, DoNotUseGeometryMapper };
+
+ PaintLayerClipper clipper(GeometryMapperOption) const;
bool scrollsOverflow() const;
@@ -849,6 +848,7 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
const PaintLayer* rootLayer,
const LayoutRect& dirtyRect,
ClipRectsCacheSlot,
+ GeometryMapperOption,
OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize,
ShouldRespectOverflowClipType = RespectOverflowClip,
const LayoutPoint* offsetFromRoot = 0,
@@ -858,6 +858,7 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
const PaintLayer* rootLayer,
const LayoutRect& dirtyRect,
ClipRectsCacheSlot,
+ GeometryMapperOption,
OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize,
ShouldRespectOverflowClipType = RespectOverflowClip,
const LayoutPoint* offsetFromRoot = 0,
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintInvalidator.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698