| Index: third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
|
| diff --git a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
|
| index ac0bf036a7d7b3aea2e96dd9429544a2680bfa88..ca862fb0a378160b10b3ac014b1bb7a0bb843bb3 100644
|
| --- a/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
|
| +++ b/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
|
| @@ -39,6 +39,7 @@ public:
|
| ~OffscreenCanvasRenderingContext2D() override;
|
| ContextType getContextType() const override { return Context2d; }
|
| bool is2d() const override { return true; }
|
| + bool isAccelerated() const override;
|
| void setOffscreenCanvasGetContextResult(OffscreenRenderingContext&) final;
|
| void setIsHidden(bool) final { ASSERT_NOT_REACHED(); }
|
| void stop() final { ASSERT_NOT_REACHED(); }
|
| @@ -86,6 +87,8 @@ private:
|
| std::unique_ptr<ImageBuffer> m_imageBuffer;
|
|
|
| bool isPaintable() const final;
|
| +
|
| + PassRefPtr<StaticBitmapImage> transferToStaticImageBitmap();
|
| };
|
|
|
| DEFINE_TYPE_CASTS(OffscreenCanvasRenderingContext2D, CanvasRenderingContext, context,
|
|
|