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