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

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

Issue 2671853003: [SPInvalidation] Use GeometryMapper in PaintLayerClipper for paint. (Closed)
Patch Set: none 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 1ccc905bee7a665be7dc5e495c3ab7f25d6ab480..36bda1b9a1657492205abe25df04f743a6981773 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -625,10 +625,7 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
return m_scrollableArea.get();
}
- PaintLayerClipper clipper() const {
- return PaintLayerClipper(*this,
- RuntimeEnabledFeatures::slimmingPaintV2Enabled());
- }
+ PaintLayerClipper clipper(bool useGeometryMapper) const;
bool scrollsOverflow() const;
@@ -848,6 +845,7 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
const PaintLayer* rootLayer,
const LayoutRect& dirtyRect,
ClipRectsCacheSlot,
+ bool useGeometryMapper,
OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize,
ShouldRespectOverflowClipType = RespectOverflowClip,
const LayoutPoint* offsetFromRoot = 0,
@@ -857,6 +855,7 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
const PaintLayer* rootLayer,
const LayoutRect& dirtyRect,
ClipRectsCacheSlot,
+ bool useGeometryMapper,
OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize,
ShouldRespectOverflowClipType = RespectOverflowClip,
const LayoutPoint* offsetFromRoot = 0,

Powered by Google App Engine
This is Rietveld 408576698