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