| Index: third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
|
| index 9d8ceb88b10617e0ed40e22265763f4de827aa01..439ea79110737dd9d04dc5efe4140bffb3b5f485 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp
|
| @@ -26,7 +26,7 @@ void DrawingDisplayItem::replay(GraphicsContext& context) const
|
| void DrawingDisplayItem::appendToWebDisplayItemList(const IntRect& visualRect, WebDisplayItemList* list) const
|
| {
|
| if (m_picture)
|
| - list->appendDrawingItem(visualRect, toSkSp(m_picture));
|
| + list->appendDrawingItem(visualRect, m_picture);
|
| }
|
|
|
| bool DrawingDisplayItem::drawsContent() const
|
| @@ -64,8 +64,8 @@ static bool picturesEqual(const SkPicture* picture1, const SkPicture* picture2)
|
| if (picture1Serialized.bytesWritten() != picture2Serialized.bytesWritten())
|
| return false;
|
|
|
| - RefPtr<SkData> data1 = adoptRef(picture1Serialized.copyToData());
|
| - RefPtr<SkData> data2 = adoptRef(picture2Serialized.copyToData());
|
| + sk_sp<SkData> data1(picture1Serialized.copyToData());
|
| + sk_sp<SkData> data2(picture2Serialized.copyToData());
|
| return data1->equals(data2.get());
|
| }
|
|
|
|
|