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:
parent
9789d8b769
commit
dcab11f5e9
5 changed files with 27 additions and 28 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue