| Index: third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp b/third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp
|
| index da2801801e688735932b30b100799b3e59914b64..dc1ca86b1d2b6f8d36694b377efc9af6e2325c53 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/LoggingCanvas.cpp
|
| @@ -244,7 +244,7 @@ std::unique_ptr<JSONObject> objectForBitmapData(const SkBitmap& bitmap)
|
| {
|
| Vector<unsigned char> output;
|
|
|
| - if (RefPtr<SkImage> image = fromSkSp(SkImage::MakeFromBitmap(bitmap))) {
|
| + if (sk_sp<SkImage> image = SkImage::MakeFromBitmap(bitmap)) {
|
| ImagePixelLocker pixelLocker(image, kUnpremul_SkAlphaType, kRGBA_8888_SkColorType);
|
| ImageDataBuffer imageData(IntSize(image->width(), image->height()),
|
| static_cast<const unsigned char*>(pixelLocker.pixels()));
|
|
|