Index: Source/core/html/canvas/WebGLRenderingContext.h |
diff --git a/Source/core/html/canvas/WebGLRenderingContext.h b/Source/core/html/canvas/WebGLRenderingContext.h |
index ffcf1828f7a4e736d47c514e841c4c8f360eaa20..fa9464ec076000543e4a82b1933cb4bf6f0996cb 100644 |
--- a/Source/core/html/canvas/WebGLRenderingContext.h |
+++ b/Source/core/html/canvas/WebGLRenderingContext.h |
@@ -35,6 +35,7 @@ class WebGLRenderingContext final : public WebGLRenderingContextBase, public Scr |
DEFINE_WRAPPERTYPEINFO(); |
public: |
static PassOwnPtrWillBeRawPtr<WebGLRenderingContext> create(HTMLCanvasElement*, WebGLContextAttributes*); |
+ static void forceNextWebGLContextCreationToFail(); |
virtual ~WebGLRenderingContext(); |
virtual unsigned version() const override { return 1; } |