1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 15:45:08 +00:00

LibWeb: Remove ancient HTML_DEBUG debug logging

This commit is contained in:
Andreas Kling 2020-11-19 22:21:16 +01:00
parent 6a569bbdd7
commit 10b534849d
6 changed files with 1 additions and 29 deletions

View file

@ -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())