| Index: Source/bindings/tests/results/V8TestInterface2.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterface2.cpp b/Source/bindings/tests/results/V8TestInterface2.cpp
|
| index c55d5311469ed5ae581d4048e369872fc12c8a63..8a49cd230fa832f8b8965ffb4de71b130a09e690 100644
|
| --- a/Source/bindings/tests/results/V8TestInterface2.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterface2.cpp
|
| @@ -222,7 +222,8 @@ static void deleteNamedItemMethodCallback(const v8::FunctionCallbackInfo<v8::Val
|
| static void stringifierMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| TestInterface2* impl = V8TestInterface2::toNative(info.Holder());
|
| - v8SetReturnValueString(info, impl->stringifierMethod(), info.GetIsolate());
|
| + String result = impl->stringifierMethod();
|
| + v8SetReturnValueString(info, result, info.GetIsolate());
|
| }
|
|
|
| static void stringifierMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| @@ -235,7 +236,8 @@ static void stringifierMethodMethodCallback(const v8::FunctionCallbackInfo<v8::V
|
| static void toStringMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| TestInterface2* impl = V8TestInterface2::toNative(info.Holder());
|
| - v8SetReturnValueString(info, impl->stringifierMethod(), info.GetIsolate());
|
| + String result = impl->stringifierMethod();
|
| + v8SetReturnValueString(info, result, info.GetIsolate());
|
| }
|
|
|
| static void toStringMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
|
|