summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-10-03 14:52:36 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-10-03 14:52:36 +0200
commit5966fcff31c62469a1a18b16aa42f9cb1af8ac96 (patch)
tree36cbb49042d06645f6fc4fd8162f6b982aa3aab8
parent9290117b7741a1210426e76dd1d02c4013bb6e5d (diff)
downloadserenity-5966fcff31c62469a1a18b16aa42f9cb1af8ac96.zip
LibHTML: Reduce debug spam from mouse events
-rw-r--r--Libraries/LibHTML/HtmlView.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Libraries/LibHTML/HtmlView.cpp b/Libraries/LibHTML/HtmlView.cpp
index 6b927df91c..d286e5b2de 100644
--- a/Libraries/LibHTML/HtmlView.cpp
+++ b/Libraries/LibHTML/HtmlView.cpp
@@ -95,7 +95,6 @@ void HtmlView::mousemove_event(GMouseEvent& event)
m_document->set_hovered_node(const_cast<Node*>(node));
#ifdef HTML_DEBUG
if (node) {
- dbg() << "HtmlView: mousemove: " << node->tag_name() << "{" << node << "}";
if (auto* link = node->enclosing_link_element()) {
dbg() << "HtmlView: hovering over a link to " << link->href();
}
@@ -127,9 +126,6 @@ void HtmlView::mousedown_event(GMouseEvent& event)
hovered_node_changed = node != m_document->hovered_node();
m_document->set_hovered_node(const_cast<Node*>(node));
if (node) {
-#ifdef HTML_DEBUG
- dbg() << "HtmlView: mousedown: " << node->tag_name() << "{" << node << "}";
-#endif
if (auto* link = node->enclosing_link_element()) {
dbg() << "HtmlView: clicking on a link to " << link->href();
if (on_link_click)