| Index: Source/bindings/tests/results/V8TestException.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestException.cpp b/Source/bindings/tests/results/V8TestException.cpp
|
| index 98af848166a78f8c6519edc447a129919b8dd9c8..bcfd3130581ea73cd107a24f2e976b42bb19f3df 100644
|
| --- a/Source/bindings/tests/results/V8TestException.cpp
|
| +++ b/Source/bindings/tests/results/V8TestException.cpp
|
| @@ -73,7 +73,8 @@ static void readonlyStringAttributeAttributeGetterCallback(v8::Local<v8::String>
|
| static void toStringMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| TestException* impl = V8TestException::toNative(info.Holder());
|
| - v8SetReturnValueString(info, impl->toString(), info.GetIsolate());
|
| + String result = impl->toString();
|
| + v8SetReturnValueString(info, result, info.GetIsolate());
|
| }
|
|
|
| static void toStringMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
|
|