diff options
Diffstat (limited to 'Source/WebCore/bindings/js/JSAudioConstructor.h')
-rw-r--r-- | Source/WebCore/bindings/js/JSAudioConstructor.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/WebCore/bindings/js/JSAudioConstructor.h b/Source/WebCore/bindings/js/JSAudioConstructor.h index 3496897..c90abbf 100644 --- a/Source/WebCore/bindings/js/JSAudioConstructor.h +++ b/Source/WebCore/bindings/js/JSAudioConstructor.h @@ -38,11 +38,15 @@ namespace WebCore { public: JSAudioConstructor(JSC::ExecState*, JSDOMGlobalObject*); + static PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype) + { + return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount, &s_info); + } + static const JSC::ClassInfo s_info; + private: virtual JSC::ConstructType getConstructData(JSC::ConstructData&); - - virtual const JSC::ClassInfo* classInfo() const { return &s_info; } }; } // namespace WebCore |