Index: third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
index e9ee1b4932c79bb7248cd943a440c1ee71432bfa..f0449605708a67abcf768b2fa500250440645aae 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLCanvasElement.h |
@@ -63,6 +63,9 @@ class ImageBufferSurface; |
class ImageData; |
class IntSize; |
+class CanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingContextOrImageBitmapRenderingContext; |
+typedef CanvasRenderingContext2DOrWebGLRenderingContextOrWebGL2RenderingContextOrImageBitmapRenderingContext RenderingContext; |
+ |
class CORE_EXPORT HTMLCanvasElement final : public HTMLElement, public DocumentVisibilityObserver, public CanvasImageSource, public ImageBufferClient, public ImageBitmapSource { |
DEFINE_WRAPPERTYPEINFO(); |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLCanvasElement); |
@@ -90,8 +93,6 @@ public: |
reset(); |
} |
- // Called by HTMLCanvasElement's V8 bindings. |
- ScriptValue getContext(ScriptState*, const String&, const CanvasContextCreationAttributes&); |
// Called by Document::getCSSCanvasContext as well as above getContext(). |
CanvasRenderingContext* getCanvasRenderingContext(const String&, const CanvasContextCreationAttributes&); |