Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index e83c97aa18cec21599a2312bfab6a87810ad673f..e782df3a2fd931f307f673b9f934ce515670cb10 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; } |