| Index: Source/bindings/tests/results/V8TestInterfaceConstructor2.h
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceConstructor2.h b/Source/bindings/tests/results/V8TestInterfaceConstructor2.h
|
| index af8f38df9d6c9d52292967e964d6b5f12929df08..b28d2b1cb971c801f85f842fb5a80fa70e9e6272 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceConstructor2.h
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceConstructor2.h
|
| @@ -45,7 +45,7 @@ class V8TestInterfaceConstructor2 {
|
| public:
|
| static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*);
|
| static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Value>, v8::Isolate*);
|
| - static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*, WrapperWorldType);
|
| + static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*);
|
| static TestInterfaceConstructor2* toNative(v8::Handle<v8::Object> object)
|
| {
|
| return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex));
|
| @@ -105,7 +105,7 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceCons
|
| template<typename CallbackInfo>
|
| inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestInterfaceConstructor2* impl)
|
| {
|
| - ASSERT(worldType(callbackInfo.GetIsolate()) == MainWorld);
|
| + ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate())->isMainWorld());
|
| if (UNLIKELY(!impl)) {
|
| v8SetReturnValueNull(callbackInfo);
|
| return;
|
|
|