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