| Index: third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| diff --git a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| index 39dfe40d0b77c3736d9e45649969fa9d9e1c0032..37317f9a0cd265416107cd9a70bf9f692b1b21fb 100644
|
| --- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| +++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.h
|
| @@ -16,6 +16,8 @@ namespace blink {
|
|
|
| class CanvasContextCreationAttributes;
|
| class ImageBitmap;
|
| +class OffscreenCanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingContext;
|
| +typedef OffscreenCanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingContext OffscreenRenderingContext;
|
|
|
| class CORE_EXPORT OffscreenCanvas final : public GarbageCollected<OffscreenCanvas>, public ScriptWrappable {
|
| DEFINE_WRAPPERTYPEINFO();
|
| @@ -34,7 +36,7 @@ public:
|
| IntSize size() const { return m_size; }
|
| void setAssociatedCanvas(HTMLCanvasElement* canvas) { m_canvas = canvas; }
|
| HTMLCanvasElement* getAssociatedCanvas() const { return m_canvas; }
|
| - CanvasRenderingContext* getCanvasRenderingContext(const String&, const CanvasContextCreationAttributes&);
|
| + CanvasRenderingContext* getCanvasRenderingContext(ScriptState*, const String&, const CanvasContextCreationAttributes&);
|
|
|
| static void registerRenderingContextFactory(PassOwnPtr<CanvasRenderingContextFactory>);
|
|
|
|
|