Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Unified Diff: Source/core/dom/Document.h

Issue 680193003: IDL: Generate union type containers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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; }

Powered by Google App Engine
This is Rietveld 408576698