summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/Accessor.h
diff options
context:
space:
mode:
authorMatthew Olsson <matthewcolsson@gmail.com>2020-07-02 15:23:42 -0700
committerAndreas Kling <kling@serenityos.org>2020-07-03 19:30:13 +0200
commit21064a1883d61624f4ec4069c80e0cd8aac0c1ea (patch)
treea87bb463c070cfbce15baca6813ec2970b0260cb /Libraries/LibJS/Runtime/Accessor.h
parent02debd8a6ddd08fe391f5aabd9c9c9caa0de9c08 (diff)
downloadserenity-21064a1883d61624f4ec4069c80e0cd8aac0c1ea.zip
LibJS: Use correct MarkedValueList append method
Diffstat (limited to 'Libraries/LibJS/Runtime/Accessor.h')
-rw-r--r--Libraries/LibJS/Runtime/Accessor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/Accessor.h b/Libraries/LibJS/Runtime/Accessor.h
index 5978cf7664..dd6d36fd70 100644
--- a/Libraries/LibJS/Runtime/Accessor.h
+++ b/Libraries/LibJS/Runtime/Accessor.h
@@ -64,7 +64,7 @@ public:
if (!m_setter)
return;
MarkedValueList arguments(interpreter().heap());
- arguments.values().append(setter_value);
+ arguments.append(setter_value);
interpreter().call(*m_setter, this_value, move(arguments));
}