| Index: Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp b/Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp
|
| index fe86e60b045e18cf31762e578eb2f9bf7c43c68f..7bcdd8ae7d512946c0ae7d9f0a45f5244e5362b7 100644
|
| --- a/Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.cpp
|
| @@ -89,7 +89,9 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| }
|
| V8StringResource<> str;
|
| {
|
| - TOSTRING_VOID_INTERNAL(str, info[0]);
|
| + str = info[0];
|
| + if (!str.prepare())
|
| + return;
|
| }
|
| RefPtrWillBeRawPtr<TestInterfaceWillBeGarbageCollected> impl = TestInterfaceWillBeGarbageCollected::create(str);
|
| v8::Local<v8::Object> wrapper = info.Holder();
|
| @@ -122,7 +124,9 @@ static void V8TestInterfaceWillBeGarbageCollectedConstructorCallback(const v8::F
|
| }
|
| V8StringResource<> str;
|
| {
|
| - TOSTRING_VOID_INTERNAL(str, info[0]);
|
| + str = info[0];
|
| + if (!str.prepare())
|
| + return;
|
| }
|
| RefPtrWillBeRawPtr<TestInterfaceWillBeGarbageCollected> impl = TestInterfaceWillBeGarbageCollected::createForJSConstructor(str);
|
| v8::Local<v8::Object> wrapper = info.Holder();
|
|
|