mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:58:13 +00:00
Ladybird: Update for LibJS realm changes
This commit is contained in:
parent
a14b00e046
commit
c9e6967d7b
4 changed files with 17 additions and 12 deletions
|
@ -186,8 +186,11 @@ public:
|
|||
return;
|
||||
|
||||
m_interpreter = interpreter;
|
||||
m_console_client = make<Ladybird::ConsoleClient>(interpreter->global_object().console(), interpreter, m_view);
|
||||
interpreter->global_object().console().set_client(*m_console_client.ptr());
|
||||
|
||||
auto& realm = interpreter->realm();
|
||||
auto& global_object = realm.global_object();
|
||||
m_console_client = make<Ladybird::ConsoleClient>(global_object.console(), interpreter, m_view);
|
||||
global_object.console().set_client(*m_console_client.ptr());
|
||||
}
|
||||
|
||||
virtual void page_did_change_selection() override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue