From 51d619ad4d6b07a48da4119f4f8debf71c9940cd Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 7 Apr 2010 10:55:39 +0000 Subject: Fix box dump for new cache. svn path=/trunk/netsurf/; revision=10263 --- riscos/gui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'riscos/gui.c') diff --git a/riscos/gui.c b/riscos/gui.c index 72b41e838..8987210a2 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -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; -- cgit v1.2.3