diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-30 23:15:40 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-30 23:16:41 +0100 |
commit | 74c8490acd9fa1c0687804f30e2f1ec336442c4d (patch) | |
tree | 86ae4d3245d8fdf613cd819176e98fd176e6b319 /Userland/Libraries/LibWeb/InProcessWebView.h | |
parent | 32a363ded50e8c45ec3b5005a63a655c5ca4e08b (diff) | |
download | serenity-74c8490acd9fa1c0687804f30e2f1ec336442c4d.zip |
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.)
Diffstat (limited to 'Userland/Libraries/LibWeb/InProcessWebView.h')
-rw-r--r-- | Userland/Libraries/LibWeb/InProcessWebView.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/InProcessWebView.h b/Userland/Libraries/LibWeb/InProcessWebView.h index 084c3a01c4..cad88401cd 100644 --- a/Userland/Libraries/LibWeb/InProcessWebView.h +++ b/Userland/Libraries/LibWeb/InProcessWebView.h @@ -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; |