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 fe2c4b52c3b43ae2b0f0c4dbe551ed109765ea0f..3bb66bf6b2d76ef1bedf95011c65fb3846569753 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemListTest.cpp |
@@ -35,13 +35,13 @@ public: |
FakeDisplayItemClient m_client; |
}; |
-static PassRefPtr<SkPicture> createRectPicture(const IntRect& bounds) |
+static sk_sp<SkPicture> createRectPicture(const IntRect& bounds) |
{ |
SkPictureRecorder recorder; |
SkCanvas* canvas = recorder.beginRecording(bounds.width(), bounds.height()); |
canvas->drawRect(SkRect::MakeXYWH(bounds.x(), bounds.y(), bounds.width(), bounds.height()), |
SkPaint()); |
- return fromSkSp(recorder.finishRecordingAsPicture()); |
+ return recorder.finishRecordingAsPicture(); |
} |
TEST_F(DisplayItemListTest, AppendVisualRect_Simple) |