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