diff options
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSONObject.h')
-rw-r--r-- | Source/JavaScriptCore/runtime/JSONObject.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/JavaScriptCore/runtime/JSONObject.h b/Source/JavaScriptCore/runtime/JSONObject.h index acffeca..a52c543 100644 --- a/Source/JavaScriptCore/runtime/JSONObject.h +++ b/Source/JavaScriptCore/runtime/JSONObject.h @@ -36,13 +36,11 @@ namespace JSC { public: JSONObject(JSGlobalObject* globalObject, NonNullPassRefPtr<Structure> structure); - static PassRefPtr<Structure> createStructure(JSValue prototype) + static PassRefPtr<Structure> createStructure(JSGlobalData& globalData, JSValue prototype) { - return Structure::create(prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info); + return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info); } - static void markStringifiers(MarkStack&, Stringifier*); - protected: static const unsigned StructureFlags = OverridesGetOwnPropertySlot | JSObject::StructureFlags; |