| Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp
|
| index 9a231760056057978163760e762afab2ad367587..4f92bcfc82b36a9b306103b94273e96992aa3556 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp
|
| @@ -4,12 +4,13 @@
|
|
|
| #include "platform/graphics/paint/DisplayItemList.h"
|
|
|
| -#include "SkPictureRecorder.h"
|
| #include "SkTypes.h"
|
| #include "platform/graphics/paint/DrawingDisplayItem.h"
|
| #include "platform/graphics/paint/SubsequenceDisplayItem.h"
|
| #include "platform/graphics/skia/SkiaUtils.h"
|
| #include "platform/testing/FakeDisplayItemClient.h"
|
| +#include "skia/ext/cdl_paint.h"
|
| +#include "skia/ext/cdl_picture_recorder.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| namespace blink {
|
| @@ -34,12 +35,12 @@ class DisplayItemListTest : public ::testing::Test {
|
| FakeDisplayItemClient m_client;
|
| };
|
|
|
| -static sk_sp<SkPicture> createRectPicture(const IntRect& bounds) {
|
| - SkPictureRecorder recorder;
|
| - SkCanvas* canvas = recorder.beginRecording(bounds.width(), bounds.height());
|
| +static sk_sp<CdlPicture> createRectPicture(const IntRect& bounds) {
|
| + CdlPictureRecorder recorder;
|
| + CdlCanvas* canvas = recorder.beginRecording(bounds.width(), bounds.height());
|
| canvas->drawRect(
|
| SkRect::MakeXYWH(bounds.x(), bounds.y(), bounds.width(), bounds.height()),
|
| - SkPaint());
|
| + CdlPaint());
|
| return recorder.finishRecordingAsPicture();
|
| }
|
|
|
|
|