Index: Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.h |
diff --git a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.h b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.h |
index c50ad73525ec8ba7767b0a37b0bf8bae7332b092..5e5ccdeeca4d43031ca4541c39f72bde00959df5 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.h |
+++ b/Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.h |
@@ -43,7 +43,7 @@ namespace WebCore { |
class V8TestInterfaceNamedConstructor2Constructor { |
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 V8TestInterfaceNamedConstructor2 { |
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 TestInterfaceNamedConstructor2* toNative(v8::Handle<v8::Object> object) |
{ |
return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)); |
@@ -110,7 +110,7 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceName |
template<typename CallbackInfo> |
inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestInterfaceNamedConstructor2* impl) |
{ |
- ASSERT(worldType(callbackInfo.GetIsolate()) == MainWorld); |
+ ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate())->isMainWorld()); |
if (UNLIKELY(!impl)) { |
v8SetReturnValueNull(callbackInfo); |
return; |