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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 1813383002: Move all fast-path paint invalidation mapping into PaintInvalidationState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index bd2ea6638aa4e2c5a9b4ac9c35dfb7d8ab4fa4b9..e80449ebdada11bff9dd9c98e16ffea50afb526d 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -1303,7 +1303,7 @@ static PaintLayer* findLayerForGraphicsLayer(PaintLayer* searchRoot, GraphicsLay
}
LayoutRect rect;
- PaintLayer::mapRectToPaintBackingCoordinates(searchRoot->layoutObject(), rect);
+ PaintLayer::mapRectInPaintInvalidationContainerToBacking(*searchRoot->layoutObject(), rect);
*layerOffset = IntSize(rect.x(), rect.y());
return searchRoot;
}
@@ -1321,7 +1321,7 @@ static PaintLayer* findLayerForGraphicsLayer(PaintLayer* searchRoot, GraphicsLay
if (graphicsLayer == squashingLayer) {
*layerType ="squashing";
LayoutRect rect;
- PaintLayer::mapRectToPaintBackingCoordinates(searchRoot->layoutObject(), rect);
+ PaintLayer::mapRectInPaintInvalidationContainerToBacking(*searchRoot->layoutObject(), rect);
*layerOffset = IntSize(rect.x(), rect.y());
return searchRoot;
}

Powered by Google App Engine
This is Rietveld 408576698