summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/WebContentConsoleClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/WebContent/WebContentConsoleClient.h')
-rw-r--r--Userland/Services/WebContent/WebContentConsoleClient.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/WebContent/WebContentConsoleClient.h b/Userland/Services/WebContent/WebContentConsoleClient.h
index 9456750d55..a8dfc28a16 100644
--- a/Userland/Services/WebContent/WebContentConsoleClient.h
+++ b/Userland/Services/WebContent/WebContentConsoleClient.h
@@ -18,7 +18,7 @@ namespace WebContent {
class WebContentConsoleClient final : public JS::ConsoleClient {
public:
- WebContentConsoleClient(JS::Console&, WeakPtr<JS::Interpreter>, ConnectionFromClient&);
+ WebContentConsoleClient(JS::Console&, JS::Realm&, ConnectionFromClient&);
void handle_input(String const& js_source);
void send_messages(i32 start_index);
@@ -28,7 +28,7 @@ private:
virtual JS::ThrowCompletionOr<JS::Value> printer(JS::Console::LogLevel log_level, PrinterArguments) override;
ConnectionFromClient& m_client;
- WeakPtr<JS::Interpreter> m_interpreter;
+ WeakPtr<JS::Realm> m_realm;
JS::Handle<ConsoleGlobalObject> m_console_global_object;
void clear_output();