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

LibWeb: Don't try to create GUI::TextBox inside multi-process web views

This is a workaround until we can implement a proper <input type=text>
in terms of LibWeb primitives.

This makes google.com not crash in multi-process mode (but there is no
search box.)
This commit is contained in:
Andreas Kling 2021-01-30 23:15:40 +01:00
parent 32a363ded5
commit 74c8490acd
4 changed files with 7 additions and 0 deletions

View file

@ -85,6 +85,7 @@ private:
// ^Web::PageClient
virtual Gfx::Palette palette() const override { return GUI::ScrollableWidget::palette(); }
virtual bool is_multi_process() const override { return false; }
virtual void page_did_change_title(const String&) override;
virtual void page_did_set_document_in_main_frame(DOM::Document*) override;
virtual void page_did_start_loading(const URL&) override;