summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2010-04-07 10:55:39 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2010-04-07 10:55:39 +0000
commit51d619ad4d6b07a48da4119f4f8debf71c9940cd (patch)
treed3e45d2e35b09f1309f6b315263c608eaacc6cea /riscos
parentcc0e23b5409879c3173cf0c61c84af6608c3b8e3 (diff)
downloadnetsurf-51d619ad4d6b07a48da4119f4f8debf71c9940cd.tar.gz
netsurf-51d619ad4d6b07a48da4119f4f8debf71c9940cd.tar.bz2
Fix box dump for new cache.
svn path=/trunk/netsurf/; revision=10263
Diffstat (limited to 'riscos')
-rw-r--r--riscos/gui.c6
-rw-r--r--riscos/gui.h2
2 files changed, 4 insertions, 4 deletions
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;
diff --git a/riscos/gui.h b/riscos/gui.h
index 657f62e4e..41b3177e2 100644
--- a/riscos/gui.h
+++ b/riscos/gui.h
@@ -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);