Index: Source/bindings/tests/results/V8TestInterfacePython2.h |
diff --git a/Source/bindings/tests/results/V8TestInterfacePython2.h b/Source/bindings/tests/results/V8TestInterfacePython2.h |
index 3ad57922f8da5719f3f1a1cb23f413fc43a61b57..766d1424a22541e5ba1ce8ad63464728c5e5b89b 100644 |
--- a/Source/bindings/tests/results/V8TestInterfacePython2.h |
+++ b/Source/bindings/tests/results/V8TestInterfacePython2.h |
@@ -45,7 +45,7 @@ class V8TestInterfacePython2 { |
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 TestInterfacePython2* toNative(v8::Handle<v8::Object> object) |
{ |
return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)); |
@@ -100,7 +100,7 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfacePyth |
template<typename CallbackInfo> |
inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestInterfacePython2* impl) |
{ |
- ASSERT(worldType(callbackInfo.GetIsolate()) == MainWorld); |
+ ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate())->isMainWorld()); |
if (UNLIKELY(!impl)) { |
v8SetReturnValueNull(callbackInfo); |
return; |