Index: third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp |
index 187f3271ae8884e4b2a71c1df85d57568b719c17..1f813c6a7e910a1e064c2b85bdc274926f1e242d 100644 |
--- a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp |
@@ -20,7 +20,7 @@ PassRefPtr<StaticBitmapImage> StaticBitmapImage::create(sk_sp<SkImage> image) |
if (!image) |
return nullptr; |
if (image->isTextureBacked()) |
- return AcceleratedStaticBitmapImage::create(std::move(image)); |
+ return AcceleratedStaticBitmapImage::createFromSharedContextImage(std::move(image)); |
return adoptRef(new StaticBitmapImage(std::move(image))); |
} |