Index: third_party/WebKit/Source/web/PageOverlayTest.cpp |
diff --git a/third_party/WebKit/Source/web/PageOverlayTest.cpp b/third_party/WebKit/Source/web/PageOverlayTest.cpp |
index 0a19a8d07846e374af4ab1d853277cb179b878e6..441b6b5c265598dace38dedeebde9bf5488b69b8 100644 |
--- a/third_party/WebKit/Source/web/PageOverlayTest.cpp |
+++ b/third_party/WebKit/Source/web/PageOverlayTest.cpp |
@@ -155,9 +155,10 @@ void PageOverlayTest::runPageOverlayTestWithAcceleratedCompositing() |
PaintController* paintController = graphicsLayer->paintController(); |
ASSERT(paintController); |
GraphicsContext graphicsContext(*paintController); |
- graphicsLayer->paint(graphicsContext, rect); |
+ IntRect intRect = rect; |
+ graphicsLayer->paint(graphicsContext, &intRect); |
- graphicsContext.beginRecording(IntRect(rect)); |
+ graphicsContext.beginRecording(intRect); |
paintController->commitNewDisplayItems(); |
paintController->paintArtifact().replay(graphicsContext); |
graphicsContext.endRecording()->playback(&canvas); |