| Index: Source/bindings/tests/results/V8TestSerializedScriptValueInterface.h
|
| diff --git a/Source/bindings/tests/results/V8TestSerializedScriptValueInterface.h b/Source/bindings/tests/results/V8TestSerializedScriptValueInterface.h
|
| index 3ec2b69fdbdf9b6f2914af8e5342d01aef73899c..dee7491c9210538d5ad9806b4db7badcf7e054c5 100644
|
| --- a/Source/bindings/tests/results/V8TestSerializedScriptValueInterface.h
|
| +++ b/Source/bindings/tests/results/V8TestSerializedScriptValueInterface.h
|
| @@ -81,6 +81,21 @@ inline v8::Handle<v8::Value> toV8(TestSerializedScriptValueInterface* impl, v8::
|
| return wrap(impl, creationContext, isolate);
|
| }
|
|
|
| +inline UnsafePersistent<v8::Object> toV8Persistent(TestSerializedScriptValueInterface* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| +{
|
| + ASSERT(impl);
|
| +
|
| + UnsafePersistent<v8::Object> wrapperPersistent = DOMDataStore::getWrapperPersistent<V8TestSerializedScriptValueInterface>(impl, isolate);
|
| + if (LIKELY(!wrapperPersistent.isEmpty()))
|
| + return wrapperPersistent;
|
| +
|
| + wrap(impl, creationContext, isolate);
|
| +
|
| + wrapperPersistent = DOMDataStore::getWrapperPersistent<V8TestSerializedScriptValueInterface>(impl, isolate);
|
| + ASSERT(!wrapperPersistent.isEmpty());
|
| + return wrapperPersistent;
|
| +}
|
| +
|
| template<typename CallbackInfo>
|
| inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestSerializedScriptValueInterface* impl, v8::Handle<v8::Object> creationContext)
|
| {
|
|
|