Index: third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.cpp b/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.cpp |
index 70b051166858aab9099680f5b134da0c4d45fc92..569e25097b00e976bf41fe845a9123b7807545c4 100644 |
--- a/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/skia/ImagePixelLocker.cpp |
@@ -24,9 +24,9 @@ bool infoIsCompatible(const SkImageInfo& info, SkAlphaType alphaType, SkColorTyp |
} // anonymous namespace |
-ImagePixelLocker::ImagePixelLocker(PassRefPtr<const SkImage> image, SkAlphaType alphaType, |
+ImagePixelLocker::ImagePixelLocker(sk_sp<const SkImage> image, SkAlphaType alphaType, |
SkColorType colorType) |
- : m_image(image) |
+ : m_image(std::move(image)) |
{ |
// If the image has in-RAM pixels and their format matches, use them directly. |
// TODO(fmalita): All current clients expect packed pixel rows. Maybe we could update them |