Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index d81b9461be2d20b4129244bb55212e5eb586aa5c..fd404a284818f01dc70e1ccfaf4ceed423906065 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -68,6 +68,7 @@ class CDATASection; |
class CSSStyleDeclaration; |
class CSSStyleSheet; |
class CanvasRenderingContext2D; |
+class CanvasRenderingContext2DOrWebGLRenderingContext; |
class Chrome; |
class Comment; |
class ConsoleMessage; |
@@ -845,7 +846,7 @@ public: |
void cancelFocusAppearanceUpdate(); |
// Extension for manipulating canvas drawing contexts for use in CSS |
- void getCSSCanvasContext(const String& type, const String& name, int width, int height, RefPtrWillBeRawPtr<CanvasRenderingContext2D>&, RefPtrWillBeRawPtr<WebGLRenderingContext>&); |
+ void getCSSCanvasContext(const String& type, const String& name, int width, int height, CanvasRenderingContext2DOrWebGLRenderingContext&); |
HTMLCanvasElement& getCSSCanvasElement(const String& name); |
bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; } |