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