From 8fc0eab89b2424a2d44b40cce9d051316c8b9cd9 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 20 Aug 2012 16:06:51 +0100 Subject: [PATCH] Use proper function for dumping box tree. --- gtk/scaffolding.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gtk/scaffolding.c b/gtk/scaffolding.c index 990444e3b..10a09875a 100644 --- a/gtk/scaffolding.c +++ b/gtk/scaffolding.c @@ -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); }