summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/JSONObject.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-22 17:50:18 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-23 17:31:08 +0200
commitaaf6014ae11adc246a212d7bb201c16549718b22 (patch)
tree9632de66e7a2f9ab5aad99c88ea59a4694488ded /Libraries/LibJS/Runtime/JSONObject.h
parent299824de73c09885a0c4158d4aea0db0680b6333 (diff)
downloadserenity-aaf6014ae11adc246a212d7bb201c16549718b22.zip
LibJS: Simplify Cell::initialize()
Remove the Interpreter& argument and pass only GlobalObject&. We can find everything we need via the global object anyway.
Diffstat (limited to 'Libraries/LibJS/Runtime/JSONObject.h')
-rw-r--r--Libraries/LibJS/Runtime/JSONObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/JSONObject.h b/Libraries/LibJS/Runtime/JSONObject.h
index 51a718756c..18a32e8ef6 100644
--- a/Libraries/LibJS/Runtime/JSONObject.h
+++ b/Libraries/LibJS/Runtime/JSONObject.h
@@ -35,7 +35,7 @@ class JSONObject final : public Object {
public:
explicit JSONObject(GlobalObject&);
- virtual void initialize(Interpreter&, GlobalObject&) override;
+ virtual void initialize(GlobalObject&) override;
virtual ~JSONObject() override;
// The base implementation of stringify is exposed because it is used by