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