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

Unified Diff: Source/bindings/core/v8/V8BindingMacros.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/bindings/core/v8/V8BindingMacros.h
diff --git a/Source/bindings/core/v8/V8BindingMacros.h b/Source/bindings/core/v8/V8BindingMacros.h
index decc724286062f5a99c90f42bf12b521549633cf..320cff6709bc0214451db6363bb4e03dfc294f1f 100644
--- a/Source/bindings/core/v8/V8BindingMacros.h
+++ b/Source/bindings/core/v8/V8BindingMacros.h
@@ -135,6 +135,11 @@ namespace blink {
if (UNLIKELY(!var.prepare())) \
return;
+#define TOSTRING_VOID_EXCEPTIONSTATE(type, var, value, exceptionState) \
+ type var(value); \
+ if (UNLIKELY(!var.prepare(exceptionState))) \
+ return;
+
#define TOSTRING_DEFAULT(type, var, value, retVal) \
type var(value); \
if (UNLIKELY(!var.prepare())) \

Powered by Google App Engine
This is Rietveld 408576698