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