summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/core/testing/Internals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/Source/core/testing/Internals.cpp')
-rw-r--r--third_party/WebKit/Source/core/testing/Internals.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index ee4cd0f..e80449e 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::mapRectInPaintInvalidationContainerToBacking(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::mapRectInPaintInvalidationContainerToBacking(searchRoot->layoutObject(), rect);
+ PaintLayer::mapRectInPaintInvalidationContainerToBacking(*searchRoot->layoutObject(), rect);
*layerOffset = IntSize(rect.x(), rect.y());
return searchRoot;
}