summaryrefslogtreecommitdiff
path: root/Applications/Browser
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-08 21:25:16 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-08 21:25:16 +0200
commit5042e560efa672cf89331ccf0cd1fd2817ea8bdb (patch)
tree35c0debaba3a4bd3ea00a4f7b88cc631bd88c2f9 /Applications/Browser
parent053863f35ee0934f34c9a565099410c917463702 (diff)
downloadserenity-5042e560efa672cf89331ccf0cd1fd2817ea8bdb.zip
LibJS: Make more Interpreter functions take a GlobalObject&
Diffstat (limited to 'Applications/Browser')
-rw-r--r--Applications/Browser/ConsoleWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Browser/ConsoleWidget.cpp b/Applications/Browser/ConsoleWidget.cpp
index 497ea3e497..67759e68a6 100644
--- a/Applications/Browser/ConsoleWidget.cpp
+++ b/Applications/Browser/ConsoleWidget.cpp
@@ -94,7 +94,7 @@ ConsoleWidget::ConsoleWidget()
output_html.append(String::format("<pre>%s</pre>", hint.characters()));
m_interpreter->throw_exception<JS::SyntaxError>(error.to_string());
} else {
- m_interpreter->run(*program);
+ m_interpreter->run(m_interpreter->global_object(),*program);
}
if (m_interpreter->exception()) {