summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Page/EventHandler.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-11-19 22:21:16 +0100
committerAndreas Kling <kling@serenityos.org>2020-11-19 23:10:21 +0100
commit10b534849dcb07fbaa600e5c5b58ca784ced7737 (patch)
tree24f4aa709e159ffdfb52731a9a597702db357762 /Libraries/LibWeb/Page/EventHandler.cpp
parent6a569bbdd76a23d0875fa06c10e4ddb5838b0259 (diff)
downloadserenity-10b534849dcb07fbaa600e5c5b58ca784ced7737.zip
LibWeb: Remove ancient HTML_DEBUG debug logging
Diffstat (limited to 'Libraries/LibWeb/Page/EventHandler.cpp')
-rw-r--r--Libraries/LibWeb/Page/EventHandler.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/Libraries/LibWeb/Page/EventHandler.cpp b/Libraries/LibWeb/Page/EventHandler.cpp
index ad10e0b77d..30bda6c150 100644
--- a/Libraries/LibWeb/Page/EventHandler.cpp
+++ b/Libraries/LibWeb/Page/EventHandler.cpp
@@ -250,12 +250,8 @@ bool EventHandler::handle_mousemove(const Gfx::IntPoint& position, unsigned butt
if (node->is_text())
is_hovering_text = true;
hovered_link_element = node->enclosing_link_element();
- if (hovered_link_element) {
-#ifdef HTML_DEBUG
- dbg() << "InProcessWebView: hovering over a link to " << hovered_link_element->href();
-#endif
+ if (hovered_link_element)
is_hovering_link = true;
- }
auto offset = compute_mouse_event_offset(position, *result.layout_node);
node->dispatch_event(UIEvents::MouseEvent::create("mousemove", offset.x(), offset.y()));
if (!layout_root())