| 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 b2b642d21862fee4ab4df96881d19b0daaea1007..f5f3d4683c375bbb6aee466288ec4c25ace85780 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.cpp
|
| @@ -18,9 +18,10 @@ namespace blink {
|
| PassRefPtr<StaticBitmapImage> StaticBitmapImage::create(sk_sp<SkImage> image) {
|
| if (!image)
|
| return nullptr;
|
| - if (image->isTextureBacked())
|
| + if (image->isTextureBacked()) {
|
| return AcceleratedStaticBitmapImage::createFromSharedContextImage(
|
| std::move(image));
|
| + }
|
| return adoptRef(new StaticBitmapImage(std::move(image)));
|
| }
|
|
|
|
|