diff options
Diffstat (limited to 'Source/JavaScriptCore/runtime/NumberObject.h')
-rw-r--r-- | Source/JavaScriptCore/runtime/NumberObject.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/JavaScriptCore/runtime/NumberObject.h b/Source/JavaScriptCore/runtime/NumberObject.h index 044f490..8a80382 100644 --- a/Source/JavaScriptCore/runtime/NumberObject.h +++ b/Source/JavaScriptCore/runtime/NumberObject.h @@ -29,19 +29,17 @@ namespace JSC { public: explicit NumberObject(JSGlobalData&, NonNullPassRefPtr<Structure>); - static const ClassInfo info; + static const ClassInfo s_info; static PassRefPtr<Structure> createStructure(JSValue prototype) { - return Structure::create(prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount); + return Structure::create(prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info); } protected: static const unsigned StructureFlags = JSWrapperObject::StructureFlags; private: - virtual const ClassInfo* classInfo() const { return &info; } - virtual JSValue getJSNumber(); }; |