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

Unified Diff: third_party/WebKit/Source/web/PageOverlayTest.cpp

Issue 1428643004: Repaint on interest rect change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@EnableSyncPaint
Patch Set: Created 5 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/web/PageOverlay.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « third_party/WebKit/Source/web/PageOverlay.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698