diff options
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSObjectWithGlobalObject.h')
-rw-r--r-- | Source/JavaScriptCore/runtime/JSObjectWithGlobalObject.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/JavaScriptCore/runtime/JSObjectWithGlobalObject.h b/Source/JavaScriptCore/runtime/JSObjectWithGlobalObject.h index 9416a62..c5e3047 100644 --- a/Source/JavaScriptCore/runtime/JSObjectWithGlobalObject.h +++ b/Source/JavaScriptCore/runtime/JSObjectWithGlobalObject.h @@ -32,11 +32,11 @@ namespace JSC { class JSGlobalObject; -class JSObjectWithGlobalObject : public JSObject { +class JSObjectWithGlobalObject : public JSNonFinalObject { public: static PassRefPtr<Structure> createStructure(JSValue proto) { - return Structure::create(proto, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount); + return Structure::create(proto, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info); } JSGlobalObject* globalObject() const; @@ -45,7 +45,7 @@ protected: JSObjectWithGlobalObject(JSGlobalObject*, NonNullPassRefPtr<Structure>); JSObjectWithGlobalObject(NonNullPassRefPtr<Structure> structure) - : JSObject(structure) + : JSNonFinalObject(structure) { // Should only be used by JSFunction when we aquire the JSFunction vptr. } |