| Index: third_party/WebKit/Source/core/frame/ImageBitmap.h
|
| diff --git a/third_party/WebKit/Source/core/frame/ImageBitmap.h b/third_party/WebKit/Source/core/frame/ImageBitmap.h
|
| index 99fd4d56562ff925fa6ae68234bab2d1d45a154e..0f784e1487c872c4cdb2e985e85136a837e095a8 100644
|
| --- a/third_party/WebKit/Source/core/frame/ImageBitmap.h
|
| +++ b/third_party/WebKit/Source/core/frame/ImageBitmap.h
|
| @@ -96,9 +96,7 @@ class CORE_EXPORT ImageBitmap final
|
| using WebType = sk_sp<SkImage>;
|
| static ImageBitmap* take(ScriptPromiseResolver*, sk_sp<SkImage>);
|
|
|
| - StaticBitmapImage* bitmapImage() const {
|
| - return (m_image) ? m_image.get() : nullptr;
|
| - }
|
| + PassRefPtr<StaticBitmapImage> bitmapImage() const { return m_image; }
|
| PassRefPtr<Uint8Array> copyBitmapData(AlphaDisposition = DontPremultiplyAlpha,
|
| DataColorFormat = RGBAColorType);
|
| unsigned long width() const;
|
|
|