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

Unified Diff: Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp

Issue 946973005: IDL: Drop value conversion (V8 -> C++) macros from generated code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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/tests/results/core/V8TestInterfaceConstructor4.cpp
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp b/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
index fa11ad9b8d61d6c799ab15d13af2df409f2bf081..7ecb4eb1db4b75aed877ebcf31330c8cec679eba 100644
--- a/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
+++ b/Source/bindings/tests/results/core/V8TestInterfaceConstructor4.cpp
@@ -48,7 +48,7 @@ static void constructor2(const v8::FunctionCallbackInfo<v8::Value>& info)
ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInterfaceConstructor4", info.Holder(), info.GetIsolate());
V8StringResource<> usvStringArg;
{
- TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(usvStringArg, toUSVString(info[0], exceptionState), exceptionState);
+ TONATIVE_CONVERT(convertAndThrow(usvStringArg = toUSVString(info[0], exceptionState), exceptionState), return);
}
RefPtr<TestInterfaceConstructor4> impl = TestInterfaceConstructor4::create(usvStringArg);
v8::Local<v8::Object> wrapper = info.Holder();

Powered by Google App Engine
This is Rietveld 408576698