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