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