Index: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.h |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.h b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.h |
index 7922359897bd480482c7a8e816f4fa954495fddd..a32e7fd428144e0c96343502d92df367e31868e1 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.h |
+++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.h |
@@ -21,7 +21,7 @@ public: |
Factory() {} |
~Factory() override {} |
- PassOwnPtrWillBeRawPtr<CanvasRenderingContext> create(HTMLCanvasElement*, const CanvasContextCreationAttributes&, Document&) override; |
+ PassOwnPtrWillBeRawPtr<CanvasRenderingContext> create(HTMLCanvasElement*, ScriptState*, const CanvasContextCreationAttributes&, Document&) override; |
CanvasRenderingContext::ContextType contextType() const override { return CanvasRenderingContext::ContextWebgl2; } |
void onError(HTMLCanvasElement*, const String& error) override; |
}; |
@@ -36,7 +36,7 @@ public: |
DECLARE_VIRTUAL_TRACE(); |
protected: |
- WebGL2RenderingContext(HTMLCanvasElement* passedCanvas, PassOwnPtr<WebGraphicsContext3D>, const WebGLContextAttributes& requestedAttributes); |
+ WebGL2RenderingContext(HTMLCanvasElement* passedCanvas, ScriptState*, PassOwnPtr<WebGraphicsContext3D>, const WebGLContextAttributes& requestedAttributes); |
PersistentWillBeMember<CHROMIUMSubscribeUniform> m_chromiumSubscribeUniform; |
PersistentWillBeMember<EXTTextureFilterAnisotropic> m_extTextureFilterAnisotropic; |