diff --git a/Userland/Libraries/LibWebView/WebContentClient.cpp b/Userland/Libraries/LibWebView/WebContentClient.cpp index 41137802e96..08b43a64276 100644 --- a/Userland/Libraries/LibWebView/WebContentClient.cpp +++ b/Userland/Libraries/LibWebView/WebContentClient.cpp @@ -6,7 +6,6 @@ #include "WebContentClient.h" #include "ViewImplementation.h" -#include #include namespace WebView { @@ -117,7 +116,6 @@ void WebContentClient::did_request_cursor_change(u64 page_id, i32 cursor_type) void WebContentClient::did_layout(u64 page_id, Gfx::IntSize content_size) { - dbgln_if(SPAM_DEBUG, "handle: WebContentClient::DidLayout! content_size={}", content_size); if (auto view = view_for_page_id(page_id); view.has_value()) { if (view->on_did_layout) view->on_did_layout(content_size); @@ -126,7 +124,6 @@ void WebContentClient::did_layout(u64 page_id, Gfx::IntSize content_size) void WebContentClient::did_change_title(u64 page_id, ByteString const& title) { - dbgln_if(SPAM_DEBUG, "handle: WebContentClient::DidChangeTitle! title={}", title); if (auto view = view_for_page_id(page_id); view.has_value()) { if (!view->on_title_change) return; @@ -172,7 +169,6 @@ void WebContentClient::did_leave_tooltip_area(u64 page_id) void WebContentClient::did_hover_link(u64 page_id, URL::URL const& url) { - dbgln_if(SPAM_DEBUG, "handle: WebContentClient::DidHoverLink! url={}", url); if (auto view = view_for_page_id(page_id); view.has_value()) { if (view->on_link_hover) view->on_link_hover(url); @@ -181,7 +177,6 @@ void WebContentClient::did_hover_link(u64 page_id, URL::URL const& url) void WebContentClient::did_unhover_link(u64 page_id) { - dbgln_if(SPAM_DEBUG, "handle: WebContentClient::DidUnhoverLink!"); if (auto view = view_for_page_id(page_id); view.has_value()) { if (view->on_link_unhover) view->on_link_unhover(); diff --git a/Userland/Services/WebContent/ConnectionFromClient.cpp b/Userland/Services/WebContent/ConnectionFromClient.cpp index cd458d6da23..b9e2d4181d8 100644 --- a/Userland/Services/WebContent/ConnectionFromClient.cpp +++ b/Userland/Services/WebContent/ConnectionFromClient.cpp @@ -9,7 +9,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include #include #include #include @@ -133,7 +132,6 @@ void ConnectionFromClient::update_screen_rects(u64 page_id, Vectorpage(page_id); if (!page.has_value()) return; @@ -153,14 +151,12 @@ void ConnectionFromClient::load_url(u64 page_id, const URL::URL& url) void ConnectionFromClient::load_html(u64 page_id, ByteString const& html) { - dbgln_if(SPAM_DEBUG, "handle: WebContentServer::LoadHTML: html={}", html); if (auto page = this->page(page_id); page.has_value()) page->page().load_html(html); } void ConnectionFromClient::set_viewport_rect(u64 page_id, Web::DevicePixelRect const& rect) { - dbgln_if(SPAM_DEBUG, "handle: WebContentServer::SetViewportRect: rect={}", rect); if (auto page = this->page(page_id); page.has_value()) page->set_viewport_rect(rect); }