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