| Index: third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.h
|
| diff --git a/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.h b/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.h
|
| index cb766dcaa4a16f21930e328988b63b82a76cbd05..2d636363598c5a5adfca750f640e9db2bf9f42d1 100644
|
| --- a/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.h
|
| +++ b/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.h
|
| @@ -32,7 +32,6 @@ public:
|
|
|
| // CanvasRenderingContext implementation
|
| ContextType getContextType() const override { return CanvasRenderingContext::ContextImageBitmap; }
|
| - bool hasAlpha() const override { return m_hasAlpha; }
|
| void setIsHidden(bool) override { }
|
| bool isContextLost() const override { return false; }
|
| bool paint(GraphicsContext&, const IntRect&) override;
|
| @@ -49,9 +48,8 @@ public:
|
| virtual ~ImageBitmapRenderingContext();
|
|
|
| private:
|
| - ImageBitmapRenderingContext(HTMLCanvasElement*, CanvasContextCreationAttributes, Document&);
|
| + ImageBitmapRenderingContext(HTMLCanvasElement*, const CanvasContextCreationAttributes&, Document&);
|
|
|
| - bool m_hasAlpha;
|
| RefPtr<Image> m_image;
|
|
|
| bool isPaintable() const final { return m_image.get(); }
|
|
|