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

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

Issue 2793993003: Make GeometryMapper fully static (Closed)
Patch Set: Created 3 years, 9 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.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index 67f936682ca98f391266d6b6215caa1edb818859..21602b62f00361347a916439486a724e9eec5246 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -2983,13 +2983,11 @@ void PaintLayer::styleDidChange(StyleDifference diff,
PaintLayerClipper PaintLayer::clipper(
GeometryMapperOption geometryMapperOption) const {
- GeometryMapper* geometryMapper = nullptr;
if (geometryMapperOption == UseGeometryMapper) {
DCHECK(RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled());
- if (FrameView* frameView = m_layoutObject.document().view())
- geometryMapper = &frameView->geometryMapper();
+ return PaintLayerClipper(*this, true);
}
- return PaintLayerClipper(*this, geometryMapper);
+ return PaintLayerClipper(*this, false);
}
bool PaintLayer::scrollsOverflow() const {

Powered by Google App Engine
This is Rietveld 408576698