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