mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-05 18:52:56 +00:00
LibHTML: Let's put debug output on the debugger stream
This commit is contained in:
parent
786494b62d
commit
9290117b77
Notes:
sideshowbarker
2024-07-19 11:50:08 +09:00
Author: https://github.com/awesomekling
Commit: 9290117b77
3 changed files with 23 additions and 23 deletions
|
@ -32,7 +32,7 @@ void HtmlView::set_document(Document* document)
|
|||
|
||||
#ifdef HTML_DEBUG
|
||||
if (document != nullptr) {
|
||||
printf("\033[33;1mLayout tree before layout:\033[0m\n");
|
||||
dbgprintf("\033[33;1mLayout tree before layout:\033[0m\n");
|
||||
::dump_tree(*m_layout_root);
|
||||
}
|
||||
#endif
|
||||
|
@ -51,7 +51,7 @@ void HtmlView::layout_and_sync_size()
|
|||
set_content_size(m_layout_root->rect().size());
|
||||
|
||||
#ifdef HTML_DEBUG
|
||||
printf("\033[33;1mLayout tree after layout:\033[0m\n");
|
||||
dbgprintf("\033[33;1mLayout tree after layout:\033[0m\n");
|
||||
::dump_tree(*m_layout_root);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue