| 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);
|
|
|