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

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

Issue 466323002: IDL: Use Nullable for union type return value (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 d7dfed11c3a2950a1169c0233d6b18e474af9fcf..f0c18af1368503aa027f11f703701e9d9ca8e97f 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -29,6 +29,7 @@
#define Document_h
#include "bindings/core/v8/ExceptionStatePlaceholder.h"
+#include "bindings/core/v8/Nullable.h"
#include "bindings/core/v8/ScriptValue.h"
#include "core/animation/AnimationClock.h"
#include "core/animation/CompositorPendingAnimations.h"
@@ -838,7 +839,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, bool&, RefPtrWillBeRawPtr<CanvasRenderingContext2D>&, bool&, RefPtrWillBeRawPtr<WebGLRenderingContext>&);
+ void getCSSCanvasContext(const String& type, const String& name, int width, int height, Nullable<RefPtrWillBeRawPtr<CanvasRenderingContext2D> >&, Nullable<RefPtrWillBeRawPtr<WebGLRenderingContext> >&);
HTMLCanvasElement& getCSSCanvasElement(const String& name);
bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; }

Powered by Google App Engine
This is Rietveld 408576698