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