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

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

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/PaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
index 64c4f599a099b172c113e1301f8cda3f02f0f1d7..5ac5f2e8fea87070567e3f94d07013a388413262 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
@@ -139,9 +139,9 @@ static LayoutRect mapLocalRectToPaintInvalidationBacking(
void PaintInvalidatorContext::mapLocalRectToPaintInvalidationBacking(
const LayoutObject& object,
LayoutRect& rect) const {
- GeometryMapper geometryMapper;
+ std::unique_ptr<GeometryMapper> geometryMapper = GeometryMapper::create();
rect = blink::mapLocalRectToPaintInvalidationBacking<LayoutRect, LayoutPoint>(
- object, rect, *this, geometryMapper);
+ object, rect, *this, *geometryMapper);
}
LayoutRect PaintInvalidator::computeVisualRectInBacking(

Powered by Google App Engine
This is Rietveld 408576698