mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 01:09:39 +03:00
Use proper function for dumping box tree.
This commit is contained in:
parent
014fb9db8d
commit
8fc0eab89b
@ -1232,13 +1232,7 @@ MULTIHANDLER(saveboxtree)
|
||||
struct browser_window *bw;
|
||||
bw = nsgtk_get_browser_window(g->top_level);
|
||||
|
||||
if (bw->current_content &&
|
||||
content_get_type(bw->current_content) ==
|
||||
CONTENT_HTML) {
|
||||
box_dump(fh,
|
||||
html_get_box_tree(bw->current_content),
|
||||
0);
|
||||
}
|
||||
browser_window_debug_dump(bw, fh);
|
||||
|
||||
fclose(fh);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user