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

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

Issue 1401363003: Rename DisplayItemList to PaintController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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.h ('k') | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp » ('j') | 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 60e792baa823086d217676493fd9e5bf7a3521a0..a64de62c8445c3361444513de4cb265ab3aa2435 100644
--- a/third_party/WebKit/Source/web/PageOverlayTest.cpp
+++ b/third_party/WebKit/Source/web/PageOverlayTest.cpp
@@ -9,8 +9,8 @@
#include "core/layout/LayoutView.h"
#include "platform/graphics/Color.h"
#include "platform/graphics/GraphicsContext.h"
-#include "platform/graphics/paint/DisplayItemList.h"
#include "platform/graphics/paint/DrawingRecorder.h"
+#include "platform/graphics/paint/PaintController.h"
#include "public/platform/Platform.h"
#include "public/platform/WebCanvas.h"
#include "public/platform/WebThread.h"
@@ -152,12 +152,12 @@ void PageOverlayTest::runPageOverlayTestWithAcceleratedCompositing()
// Paint the layer with a null canvas to get a display list, and then
// replay that onto the mock canvas for examination.
- GraphicsContext graphicsContext(graphicsLayer->displayItemList());
+ GraphicsContext graphicsContext(graphicsLayer->paintController());
graphicsLayer->paint(graphicsContext, rect);
graphicsContext.beginRecording(IntRect(rect));
- graphicsLayer->displayItemList()->commitNewDisplayItems();
- graphicsLayer->displayItemList()->paintArtifact().replay(graphicsContext);
+ graphicsLayer->paintController()->commitNewDisplayItems();
+ graphicsLayer->paintController()->paintArtifact().replay(graphicsContext);
graphicsContext.endRecording()->playback(&canvas);
}
« no previous file with comments | « third_party/WebKit/Source/web/PageOverlay.h ('k') | third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698