| Index: Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp
|
| diff --git a/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp b/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp
|
| index 0fb5af985a52ef62b7fc65e12369cf21038dc404..3b72b5b219044707091fec6e70a910083331f6ae 100644
|
| --- a/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp
|
| +++ b/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp
|
| @@ -114,10 +114,10 @@ static void initializedByEventConstructorReadonlyUint8ArrayAttributeAttributeGet
|
| RefPtr<DOMUint8Array> cppValue(impl->initializedByEventConstructorReadonlyUint8ArrayAttribute());
|
| if (cppValue && DOMDataStore::setReturnValue(info.GetReturnValue(), cppValue.get()))
|
| return;
|
| - v8::Local<v8::Value> wrapper = toV8(cppValue.get(), holder, info.GetIsolate());
|
| - if (!wrapper.IsEmpty()) {
|
| - V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, v8AtomicString(info.GetIsolate(), "initializedByEventConstructorReadonlyUint8ArrayAttribute"), wrapper);
|
| - v8SetReturnValue(info, wrapper);
|
| + v8::Local<v8::Value> v8Value(toV8(cppValue.get(), holder, info.GetIsolate()));
|
| + if (!v8Value.IsEmpty()) {
|
| + V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, v8AtomicString(info.GetIsolate(), "initializedByEventConstructorReadonlyUint8ArrayAttribute"), v8Value);
|
| + v8SetReturnValue(info, v8Value);
|
| }
|
| }
|
|
|
| @@ -135,10 +135,10 @@ static void initializedByEventConstructorReadonlyTestInterfaceEmptyAttributeAttr
|
| RefPtr<TestInterfaceEmpty> cppValue(impl->initializedByEventConstructorReadonlyTestInterfaceEmptyAttribute());
|
| if (cppValue && DOMDataStore::setReturnValue(info.GetReturnValue(), cppValue.get()))
|
| return;
|
| - v8::Local<v8::Value> wrapper = toV8(cppValue.get(), holder, info.GetIsolate());
|
| - if (!wrapper.IsEmpty()) {
|
| - V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, v8AtomicString(info.GetIsolate(), "initializedByEventConstructorReadonlyTestInterfaceEmptyAttribute"), wrapper);
|
| - v8SetReturnValue(info, wrapper);
|
| + v8::Local<v8::Value> v8Value(toV8(cppValue.get(), holder, info.GetIsolate()));
|
| + if (!v8Value.IsEmpty()) {
|
| + V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, v8AtomicString(info.GetIsolate(), "initializedByEventConstructorReadonlyTestInterfaceEmptyAttribute"), v8Value);
|
| + v8SetReturnValue(info, v8Value);
|
| }
|
| }
|
|
|
| @@ -170,10 +170,10 @@ static void initializedByEventConstructorReadonlyNullableTestInterfaceEmptyAttri
|
| RefPtr<TestInterfaceEmpty> cppValue(impl->initializedByEventConstructorReadonlyNullableTestInterfaceEmptyAttribute());
|
| if (cppValue && DOMDataStore::setReturnValue(info.GetReturnValue(), cppValue.get()))
|
| return;
|
| - v8::Local<v8::Value> wrapper = toV8(cppValue.get(), holder, info.GetIsolate());
|
| - if (!wrapper.IsEmpty()) {
|
| - V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, v8AtomicString(info.GetIsolate(), "initializedByEventConstructorReadonlyNullableTestInterfaceEmptyAttribute"), wrapper);
|
| - v8SetReturnValue(info, wrapper);
|
| + v8::Local<v8::Value> v8Value(toV8(cppValue.get(), holder, info.GetIsolate()));
|
| + if (!v8Value.IsEmpty()) {
|
| + V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, v8AtomicString(info.GetIsolate(), "initializedByEventConstructorReadonlyNullableTestInterfaceEmptyAttribute"), v8Value);
|
| + v8SetReturnValue(info, v8Value);
|
| }
|
| }
|
|
|
|
|