| Index: Source/bindings/tests/results/V8TestConstants.h
|
| diff --git a/Source/bindings/tests/results/V8TestConstants.h b/Source/bindings/tests/results/V8TestConstants.h
|
| index a2a53da78eb1951000af687ec545370d9b132fe8..7ae574925805b41a6922b33235269aabf05912d6 100644
|
| --- a/Source/bindings/tests/results/V8TestConstants.h
|
| +++ b/Source/bindings/tests/results/V8TestConstants.h
|
| @@ -81,7 +81,7 @@ inline v8::Handle<v8::Value> toV8(TestConstants* impl, v8::Handle<v8::Object> cr
|
| }
|
|
|
| template<typename CallbackInfo>
|
| -inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestConstants* impl, v8::Handle<v8::Object> creationContext)
|
| +inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestConstants* impl)
|
| {
|
| if (UNLIKELY(!impl)) {
|
| v8SetReturnValueNull(callbackInfo);
|
| @@ -89,12 +89,12 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestConstants* im
|
| }
|
| if (DOMDataStore::setReturnValueFromWrapper<V8TestConstants>(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, TestConstants* impl, v8::Handle<v8::Object> creationContext)
|
| +inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestConstants* impl)
|
| {
|
| ASSERT(worldType(callbackInfo.GetIsolate()) == MainWorld);
|
| if (UNLIKELY(!impl)) {
|
| @@ -103,7 +103,7 @@ inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestC
|
| }
|
| if (DOMDataStore::setReturnValueFromWrapperForMainWorld<V8TestConstants>(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);
|
| }
|
|
|
| @@ -126,15 +126,15 @@ inline v8::Handle<v8::Value> toV8(PassRefPtr<TestConstants > impl, v8::Handle<v8
|
| }
|
|
|
| template<class CallbackInfo>
|
| -inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr<TestConstants > impl, v8::Handle<v8::Object> creationContext)
|
| +inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr<TestConstants > impl)
|
| {
|
| - v8SetReturnValue(callbackInfo, impl.get(), creationContext);
|
| + v8SetReturnValue(callbackInfo, impl.get());
|
| }
|
|
|
| template<class CallbackInfo>
|
| -inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<TestConstants > impl, v8::Handle<v8::Object> creationContext)
|
| +inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<TestConstants > impl)
|
| {
|
| - v8SetReturnValueForMainWorld(callbackInfo, impl.get(), creationContext);
|
| + v8SetReturnValueForMainWorld(callbackInfo, impl.get());
|
| }
|
|
|
| template<class CallbackInfo, class Wrappable>
|
|
|