mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-26 11:24:57 +03:00
Fix box dump for new cache.
svn path=/trunk/netsurf/; revision=10263
This commit is contained in:
parent
cc0e23b540
commit
51d619ad4d
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user