Fix box dump for new cache.

svn path=/trunk/netsurf/; revision=10263
This commit is contained in:
Michael Drake 2010-04-07 10:55:39 +00:00
parent cc0e23b540
commit 51d619ad4d
2 changed files with 4 additions and 4 deletions

View File

@ -2301,7 +2301,7 @@ void ro_gui_view_source_bounce(wimp_message *message)
* Send the debug dump of a content to a text editor.
*/
void ro_gui_dump_content(struct content *content)
void ro_gui_dump_content(hlcache_handle *c)
{
os_error *error;
@ -2314,9 +2314,9 @@ void ro_gui_dump_content(struct content *content)
}
/* output debug information to file */
switch (content->type) {
switch (content_get_type(c)) {
case CONTENT_HTML:
box_dump(stream, content->data.html.layout, 0);
box_dump(stream, html_get_box_tree(c), 0);
break;
default:
break;

View File

@ -122,7 +122,7 @@ void ro_gui_open_window_request(wimp_open *open);
void ro_gui_open_help_page(const char *page);
void ro_gui_screen_size(int *width, int *height);
void ro_gui_view_source(struct hlcache_handle *c);
void ro_gui_dump_content(struct content *content);
void ro_gui_dump_content(struct hlcache_handle *c);
void ro_gui_drag_box_start(wimp_pointer *pointer);
bool ro_gui_prequit(void);
const char *ro_gui_default_language(void);