| 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 69051b82067dbb59bf399ecfdee7689caa4b0590..f97398d3001858850fb96e32c7d8c873e1d3c044 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();
|
| @@ -36,7 +38,7 @@ public:
|
| int getAssociatedCanvasId() const { return m_canvasId; }
|
| bool isNeutered() const { return m_isNeutered; }
|
| void setNeutered();
|
| - CanvasRenderingContext* getCanvasRenderingContext(const String&, const CanvasContextCreationAttributes&);
|
| + CanvasRenderingContext* getCanvasRenderingContext(ScriptState*, const String&, const CanvasContextCreationAttributes&);
|
| CanvasRenderingContext* renderingContext() { return m_context; }
|
|
|
| static void registerRenderingContextFactory(PassOwnPtr<CanvasRenderingContextFactory>);
|
|
|