| Index: third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
|
| index 6f5bb2c69d85552f15f72f99581e2b32915054dd..0150c0e5fd384309cad136cd9d825e72dc426a0c 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/StaticBitmapImage.h
|
| @@ -15,13 +15,13 @@ public:
|
|
|
| bool currentFrameIsComplete() override { return true; }
|
|
|
| - static PassRefPtr<Image> create(PassRefPtr<SkImage>);
|
| + static PassRefPtr<StaticBitmapImage> create(PassRefPtr<SkImage>);
|
| virtual void destroyDecodedData(bool destroyAll) { }
|
| virtual bool currentFrameKnownToBeOpaque();
|
| virtual IntSize size() const;
|
| void draw(SkCanvas*, const SkPaint&, const FloatRect& dstRect, const FloatRect& srcRect, RespectImageOrientationEnum, ImageClampingMode) override;
|
|
|
| - PassRefPtr<SkImage> imageForCurrentFrame() override { return m_image; }
|
| + PassRefPtr<SkImage> imageForCurrentFrame() override;
|
|
|
| protected:
|
| StaticBitmapImage(PassRefPtr<SkImage>);
|
|
|