summaryrefslogtreecommitdiffstats
path: root/Source/JavaScriptGlue/UserObjectImp.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptGlue/UserObjectImp.h')
-rw-r--r--Source/JavaScriptGlue/UserObjectImp.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/JavaScriptGlue/UserObjectImp.h b/Source/JavaScriptGlue/UserObjectImp.h
index dbd4faa..3f64153 100644
--- a/Source/JavaScriptGlue/UserObjectImp.h
+++ b/Source/JavaScriptGlue/UserObjectImp.h
@@ -34,13 +34,12 @@
#include "JSObject.h"
#include <JavaScriptCore/JSType.h>
-class UserObjectImp : public JSObject {
+class UserObjectImp : public JSNonFinalObject {
public:
UserObjectImp(PassRefPtr<Structure>, JSUserObject*);
virtual ~UserObjectImp();
- virtual const ClassInfo *classInfo() const;
- static const ClassInfo info;
+ static const ClassInfo s_info;
virtual CallType getCallData(CallData&);
@@ -61,7 +60,7 @@ public:
static PassRefPtr<Structure> createStructure(JSValue prototype)
{
- return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren | OverridesGetPropertyNames), AnonymousSlotCount);
+ return Structure::create(prototype, TypeInfo(ObjectType, OverridesGetOwnPropertySlot | OverridesMarkChildren | OverridesGetPropertyNames), AnonymousSlotCount, &s_info);
}
private: