| Index: third_party/WebKit/Source/web/tests/sim/SimDisplayItemList.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/sim/SimDisplayItemList.cpp b/third_party/WebKit/Source/web/tests/sim/SimDisplayItemList.cpp
|
| index 60951a8a685e58cb60c6b1e1ec9d0980fe88bd82..f619c62be0e3ce10750d57f2cb4459f2d41492bc 100644
|
| --- a/third_party/WebKit/Source/web/tests/sim/SimDisplayItemList.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/sim/SimDisplayItemList.cpp
|
| @@ -6,7 +6,7 @@
|
|
|
| #include "core/css/parser/CSSParser.h"
|
| #include "platform/graphics/LoggingCanvas.h"
|
| -#include "third_party/skia/include/core/SkPicture.h"
|
| +#include "platform/graphics/paint/PaintRecord.h"
|
| #include "third_party/skia/include/core/SkRect.h"
|
|
|
| namespace blink {
|
| @@ -14,7 +14,7 @@ namespace blink {
|
| SimDisplayItemList::SimDisplayItemList() {}
|
|
|
| void SimDisplayItemList::appendDrawingItem(const WebRect&,
|
| - sk_sp<const SkPicture> picture) {
|
| + sk_sp<const PaintRecord> picture) {
|
| SkIRect bounds = picture->cullRect().roundOut();
|
| SimCanvas canvas(bounds.width(), bounds.height());
|
| picture->playback(&canvas);
|
|
|