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