summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/PageHost.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-30 23:15:40 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-30 23:16:41 +0100
commit74c8490acd9fa1c0687804f30e2f1ec336442c4d (patch)
tree86ae4d3245d8fdf613cd819176e98fd176e6b319 /Userland/Services/WebContent/PageHost.h
parent32a363ded50e8c45ec3b5005a63a655c5ca4e08b (diff)
downloadserenity-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/Services/WebContent/PageHost.h')
-rw-r--r--Userland/Services/WebContent/PageHost.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/WebContent/PageHost.h b/Userland/Services/WebContent/PageHost.h
index 0ee9e393d9..6983421840 100644
--- a/Userland/Services/WebContent/PageHost.h
+++ b/Userland/Services/WebContent/PageHost.h
@@ -50,6 +50,7 @@ public:
private:
// ^PageClient
+ virtual bool is_multi_process() const override { return true; }
virtual Gfx::Palette palette() const override;
virtual void page_did_invalidate(const Gfx::IntRect&) override;
virtual void page_did_change_selection() override;