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

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

Issue 1396783003: Factor PaintArtifact out of DisplayItemList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@const-replay
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
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 8a35fd7179c4da3c09d17a68249d308a0a126bf9..60e792baa823086d217676493fd9e5bf7a3521a0 100644
--- a/third_party/WebKit/Source/web/PageOverlayTest.cpp
+++ b/third_party/WebKit/Source/web/PageOverlayTest.cpp
@@ -156,7 +156,8 @@ void PageOverlayTest::runPageOverlayTestWithAcceleratedCompositing()
graphicsLayer->paint(graphicsContext, rect);
graphicsContext.beginRecording(IntRect(rect));
- graphicsLayer->displayItemList()->commitNewDisplayItemsAndReplay(graphicsContext);
+ graphicsLayer->displayItemList()->commitNewDisplayItems();
+ graphicsLayer->displayItemList()->paintArtifact().replay(graphicsContext);
graphicsContext.endRecording()->playback(&canvas);
}

Powered by Google App Engine
This is Rietveld 408576698