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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsContextTest.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
Index: third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
index c1828808dab96bbb48578f98cf93cb9db9de8e00..91d4805d9215d9bd96bca3167467801d1eb83bf9 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
@@ -26,7 +26,7 @@
#include "platform/graphics/GraphicsContext.h"
#include "platform/graphics/BitmapImage.h"
-#include "platform/graphics/paint/DisplayItemList.h"
+#include "platform/graphics/paint/PaintController.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkPicture.h"
@@ -69,8 +69,8 @@ TEST(GraphicsContextTest, pictureRecording)
bitmap.eraseColor(0);
SkCanvas canvas(bitmap);
- OwnPtr<DisplayItemList> displayItemList = DisplayItemList::create();
- GraphicsContext context(displayItemList.get());
+ OwnPtr<PaintController> paintController = PaintController::create();
+ GraphicsContext context(paintController.get());
Color opaque(1.0f, 0.0f, 0.0f, 1.0f);
FloatRect bounds(0, 0, 100, 100);
@@ -102,8 +102,8 @@ TEST(GraphicsContextTest, UnboundedDrawsAreClipped)
Color alpha(0.0f, 0.0f, 0.0f, 0.0f);
FloatRect bounds(0, 0, 100, 100);
- OwnPtr<DisplayItemList> displayItemList = DisplayItemList::create();
- GraphicsContext context(displayItemList.get());
+ OwnPtr<PaintController> paintController = PaintController::create();
+ GraphicsContext context(paintController.get());
context.beginRecording(bounds);
context.setShouldAntialias(false);

Powered by Google App Engine
This is Rietveld 408576698