| Index: third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp b/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
|
| index f15badd3690426092c4e9105d85310caab70c360..e431145698980eb343ee386d7f29239aa8c0409c 100644
|
| --- a/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/TestPaintArtifact.cpp
|
| @@ -9,6 +9,7 @@
|
| #include "platform/graphics/paint/DrawingDisplayItem.h"
|
| #include "platform/graphics/paint/ForeignLayerDisplayItem.h"
|
| #include "platform/graphics/paint/PaintArtifact.h"
|
| +#include "platform/graphics/skia/SkiaUtils.h"
|
| #include "third_party/skia/include/core/SkPaint.h"
|
| #include "third_party/skia/include/core/SkPicture.h"
|
| #include "third_party/skia/include/core/SkPictureRecorder.h"
|
| @@ -35,7 +36,7 @@ PassRefPtr<SkPicture> TestPaintArtifact::DummyRectClient::makePicture() const
|
| SkPaint paint;
|
| paint.setColor(m_color.rgb());
|
| canvas->drawRect(m_rect, paint);
|
| - return adoptRef(recorder.endRecordingAsPicture());
|
| + return fromSkSp(recorder.finishRecordingAsPicture());
|
| }
|
|
|
| TestPaintArtifact::TestPaintArtifact()
|
|
|