| Index: Source/bindings/tests/results/V8SupportTestInterface.h
|
| diff --git a/Source/bindings/tests/results/V8SupportTestInterface.h b/Source/bindings/tests/results/V8SupportTestInterface.h
|
| index e8ce9bc1be3c26a14699677235ad99b917f59c49..02a99e2abe5eb8e25b325a540baa85c3ce684a62 100644
|
| --- a/Source/bindings/tests/results/V8SupportTestInterface.h
|
| +++ b/Source/bindings/tests/results/V8SupportTestInterface.h
|
| @@ -84,7 +84,7 @@ inline v8::Handle<v8::Value> toV8(SupportTestInterface* impl, v8::Handle<v8::Obj
|
| }
|
|
|
| template<typename CallbackInfo>
|
| -inline void v8SetReturnValue(const CallbackInfo& callbackInfo, SupportTestInterface* impl, v8::Handle<v8::Object> creationContext)
|
| +inline void v8SetReturnValue(const CallbackInfo& callbackInfo, SupportTestInterface* impl)
|
| {
|
| if (UNLIKELY(!impl)) {
|
| v8SetReturnValueNull(callbackInfo);
|
| @@ -92,12 +92,12 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, SupportTestInterf
|
| }
|
| if (DOMDataStore::setReturnValueFromWrapper<V8SupportTestInterface>(callbackInfo.GetReturnValue(), impl))
|
| return;
|
| - v8::Handle<v8::Object> wrapper = wrap(impl, creationContext, callbackInfo.GetIsolate());
|
| + v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
|
| v8SetReturnValue(callbackInfo, wrapper);
|
| }
|
|
|
| template<typename CallbackInfo>
|
| -inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, SupportTestInterface* impl, v8::Handle<v8::Object> creationContext)
|
| +inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, SupportTestInterface* impl)
|
| {
|
| ASSERT(worldType(callbackInfo.GetIsolate()) == MainWorld);
|
| if (UNLIKELY(!impl)) {
|
| @@ -106,7 +106,7 @@ inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, Suppo
|
| }
|
| if (DOMDataStore::setReturnValueFromWrapperForMainWorld<V8SupportTestInterface>(callbackInfo.GetReturnValue(), impl))
|
| return;
|
| - v8::Handle<v8::Value> wrapper = wrap(impl, creationContext, callbackInfo.GetIsolate());
|
| + v8::Handle<v8::Value> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
|
| v8SetReturnValue(callbackInfo, wrapper);
|
| }
|
|
|
| @@ -129,15 +129,15 @@ inline v8::Handle<v8::Value> toV8(PassRefPtr<SupportTestInterface > impl, v8::Ha
|
| }
|
|
|
| template<class CallbackInfo>
|
| -inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr<SupportTestInterface > impl, v8::Handle<v8::Object> creationContext)
|
| +inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr<SupportTestInterface > impl)
|
| {
|
| - v8SetReturnValue(callbackInfo, impl.get(), creationContext);
|
| + v8SetReturnValue(callbackInfo, impl.get());
|
| }
|
|
|
| template<class CallbackInfo>
|
| -inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<SupportTestInterface > impl, v8::Handle<v8::Object> creationContext)
|
| +inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<SupportTestInterface > impl)
|
| {
|
| - v8SetReturnValueForMainWorld(callbackInfo, impl.get(), creationContext);
|
| + v8SetReturnValueForMainWorld(callbackInfo, impl.get());
|
| }
|
|
|
| template<class CallbackInfo, class Wrappable>
|
|
|