diff options
Diffstat (limited to 'Source/WebCore/bindings/js/JSDOMWindowShell.h')
-rw-r--r-- | Source/WebCore/bindings/js/JSDOMWindowShell.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/WebCore/bindings/js/JSDOMWindowShell.h b/Source/WebCore/bindings/js/JSDOMWindowShell.h index d585fd4..06dd1ff 100644 --- a/Source/WebCore/bindings/js/JSDOMWindowShell.h +++ b/Source/WebCore/bindings/js/JSDOMWindowShell.h @@ -37,8 +37,8 @@ namespace WebCore { class DOMWindow; class Frame; - class JSDOMWindowShell : public JSC::JSObject { - typedef JSC::JSObject Base; + class JSDOMWindowShell : public JSC::JSNonFinalObject { + typedef JSC::JSNonFinalObject Base; public: JSDOMWindowShell(PassRefPtr<DOMWindow>, DOMWrapperWorld* world); virtual ~JSDOMWindowShell(); @@ -60,7 +60,7 @@ namespace WebCore { static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype) { - return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount); + return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount, &s_info); } DOMWrapperWorld* world() { return m_world.get(); } @@ -83,7 +83,6 @@ namespace WebCore { virtual JSC::JSValue lookupGetter(JSC::ExecState*, const JSC::Identifier& propertyName); virtual JSC::JSValue lookupSetter(JSC::ExecState*, const JSC::Identifier& propertyName); virtual JSC::JSObject* unwrappedObject(); - virtual const JSC::ClassInfo* classInfo() const { return &s_info; } JSC::WriteBarrier<JSDOMWindow> m_window; RefPtr<DOMWrapperWorld> m_world; |