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