diff options
Diffstat (limited to 'JavaScriptCore/runtime/JSONObject.h')
-rw-r--r-- | JavaScriptCore/runtime/JSONObject.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/JavaScriptCore/runtime/JSONObject.h b/JavaScriptCore/runtime/JSONObject.h index 7a9e0a4..f64be12 100644 --- a/JavaScriptCore/runtime/JSONObject.h +++ b/JavaScriptCore/runtime/JSONObject.h @@ -26,18 +26,15 @@ #ifndef JSONObject_h #define JSONObject_h -#include "JSObject.h" +#include "JSObjectWithGlobalObject.h" namespace JSC { class Stringifier; - class JSONObject : public JSObject { + class JSONObject : public JSObjectWithGlobalObject { public: - JSONObject(NonNullPassRefPtr<Structure> structure) - : JSObject(structure) - { - } + JSONObject(JSGlobalObject* globalObject, NonNullPassRefPtr<Structure> structure); static PassRefPtr<Structure> createStructure(JSValue prototype) { |