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