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

Unified Diff: Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.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: address comments 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/V8TestInterfaceNamedConstructor2.cpp
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp b/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp
index 0e4c1a7335934ef64616f36ac7834e2dbd9df13e..7b82941b19a2adb8c3552ff81c4675821452fdd4 100644
--- a/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp
+++ b/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor2.cpp
@@ -51,7 +51,9 @@ static void V8TestInterfaceNamedConstructor2ConstructorCallback(const v8::Functi
}
V8StringResource<> stringArg;
{
- TOSTRING_VOID_INTERNAL(stringArg, info[0]);
+ stringArg = info[0];
+ if (!stringArg.prepare())
+ return;
}
RefPtr<TestInterfaceNamedConstructor2> impl = TestInterfaceNamedConstructor2::createForJSConstructor(stringArg);
v8::Local<v8::Object> wrapper = info.Holder();

Powered by Google App Engine
This is Rietveld 408576698