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