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(); |