Index: Source/bindings/tests/results/core/V8TestInterfaceConstructor3.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceConstructor3.cpp b/Source/bindings/tests/results/core/V8TestInterfaceConstructor3.cpp |
index 283e8af0b602b6efe0baa3b44fca79769d0c9ede..98dd4c1a9bbf74effb67a31342fc2b4a14b70eff 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterfaceConstructor3.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterfaceConstructor3.cpp |
@@ -38,7 +38,9 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
} |
V8StringResource<> stringArg; |
{ |
- TOSTRING_VOID_INTERNAL(stringArg, info[0]); |
+ stringArg = info[0]; |
+ if (!stringArg.prepare()) |
+ return; |
} |
RefPtr<TestInterfaceConstructor3> impl = TestInterfaceConstructor3::create(stringArg); |
v8::Local<v8::Object> wrapper = info.Holder(); |