1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:07:34 +00:00

Ladybird: Fix build after LibWeb+LibJS GC changes

This commit is contained in:
Andreas Kling 2022-09-06 00:42:16 +02:00 committed by Andrew Kaster
parent 9789d8b769
commit dcab11f5e9
5 changed files with 27 additions and 28 deletions

View file

@ -23,7 +23,7 @@ namespace Ladybird {
class ConsoleClient final : public JS::ConsoleClient {
public:
ConsoleClient(JS::Console&, WeakPtr<JS::Interpreter>, WebView&);
ConsoleClient(JS::Console&, JS::Realm&, WebView&);
void handle_input(String const& js_source);
void send_messages(i32 start_index);
@ -54,6 +54,8 @@ private:
String data;
};
Vector<ConsoleOutput> m_message_log;
WeakPtr<JS::Realm> m_realm;
};
}