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