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