From 7c607a4749e022eca5991a12928e42b83f4b9393 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Tue, 25 Jun 2024 09:50:19 -0600 Subject: [PATCH] WebContent: Remove stale on_webcontent_connection hook --- Userland/Services/WebContent/PageClient.cpp | 3 --- Userland/Services/WebContent/PageHost.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/Userland/Services/WebContent/PageClient.cpp b/Userland/Services/WebContent/PageClient.cpp index bb58ff4e461..ddd0fac4a05 100644 --- a/Userland/Services/WebContent/PageClient.cpp +++ b/Userland/Services/WebContent/PageClient.cpp @@ -665,9 +665,6 @@ ErrorOr PageClient::connect_to_webdriver(ByteString const& webdriver_ipc_p VERIFY(!m_webdriver); m_webdriver = TRY(WebDriverConnection::connect(*this, webdriver_ipc_path)); - if (m_owner.on_webdriver_connection) - m_owner.on_webdriver_connection(*m_webdriver); - return {}; } diff --git a/Userland/Services/WebContent/PageHost.h b/Userland/Services/WebContent/PageHost.h index f3fad3bd7c0..a93c4184d97 100644 --- a/Userland/Services/WebContent/PageHost.h +++ b/Userland/Services/WebContent/PageHost.h @@ -24,8 +24,6 @@ public: static NonnullOwnPtr create(ConnectionFromClient& client) { return adopt_own(*new PageHost(client)); } virtual ~PageHost(); - Function on_webdriver_connection; - Optional page(u64 index); PageClient& create_page(); void remove_page(Badge, u64 index);