| Index: Source/bindings/tests/results/V8TestInterfaceEventTarget.h
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceEventTarget.h b/Source/bindings/tests/results/V8TestInterfaceEventTarget.h
|
| index 0c4e1398166bb809697c0c910005421037d98d69..317d1197e5fe4b3a559282045d7acb0fb4b9f2e8 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceEventTarget.h
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceEventTarget.h
|
| @@ -44,7 +44,7 @@ namespace WebCore {
|
|
|
| class V8TestInterfaceEventTargetConstructor {
|
| public:
|
| - static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*, WrapperWorldType);
|
| + static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*);
|
| static const WrapperTypeInfo wrapperTypeInfo;
|
| };
|
|
|
| @@ -52,7 +52,7 @@ class V8TestInterfaceEventTarget {
|
| 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 TestInterfaceEventTarget* toNative(v8::Handle<v8::Object> object)
|
| {
|
| return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex));
|
| @@ -113,7 +113,7 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceEven
|
| template<typename CallbackInfo>
|
| inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestInterfaceEventTarget* impl)
|
| {
|
| - ASSERT(worldType(callbackInfo.GetIsolate()) == MainWorld);
|
| + ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate())->isMainWorld());
|
| if (UNLIKELY(!impl)) {
|
| v8SetReturnValueNull(callbackInfo);
|
| return;
|
|
|