| Index: Source/bindings/tests/results/V8TestInterfaceNamedConstructor.h
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.h b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.h
|
| index cf01da46d78b7227013323c3be97a216e730289d..e2eefa82b23856e53d4f8cd069f7364812f4c792 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.h
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor.h
|
| @@ -43,7 +43,7 @@ namespace WebCore {
|
|
|
| class V8TestInterfaceNamedConstructorConstructor {
|
| public:
|
| - static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*, WrapperWorldType);
|
| + static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*);
|
| static const WrapperTypeInfo wrapperTypeInfo;
|
| };
|
|
|
| @@ -51,7 +51,7 @@ class V8TestInterfaceNamedConstructor {
|
| 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 TestInterfaceNamedConstructor* toNative(v8::Handle<v8::Object> object)
|
| {
|
| return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex));
|
| @@ -111,7 +111,7 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceName
|
| template<typename CallbackInfo>
|
| inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestInterfaceNamedConstructor* impl)
|
| {
|
| - ASSERT(worldType(callbackInfo.GetIsolate()) == MainWorld);
|
| + ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate())->isMainWorld());
|
| if (UNLIKELY(!impl)) {
|
| v8SetReturnValueNull(callbackInfo);
|
| return;
|
|
|