diff options
Diffstat (limited to 'render')
-rw-r--r-- | render/box_construct.c | 4 | ||||
-rw-r--r-- | render/html_css.c | 6 | ||||
-rw-r--r-- | render/html_object.c | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/render/box_construct.c b/render/box_construct.c index adb450946..23d41203f 100644 --- a/render/box_construct.c +++ b/render/box_construct.c @@ -187,7 +187,7 @@ nserror dom_to_box(dom_node *n, html_content *c, box_construct_complete_cb cb) ctx->cb = cb; ctx->bctx = c->bctx; - return guit->browser->schedule(0, (void *)convert_xml_to_box, ctx); + return guit->misc->schedule(0, (void *)convert_xml_to_box, ctx); } /* mapping from CSS display to box type @@ -448,7 +448,7 @@ void convert_xml_to_box(struct box_construct_ctx *ctx) } while (++num_processed < max_processed_before_yield); /* More work to do: schedule a continuation */ - guit->browser->schedule(0, (void *)convert_xml_to_box, ctx); + guit->misc->schedule(0, (void *)convert_xml_to_box, ctx); } /** diff --git a/render/html_css.c b/render/html_css.c index a90ea6323..6761a6502 100644 --- a/render/html_css.c +++ b/render/html_css.c @@ -292,7 +292,7 @@ static void html_css_process_modified_styles(void *pw) /* If we failed to process any sheet, schedule a retry */ if (all_done == false) { - guit->browser->schedule(1000, html_css_process_modified_styles, c); + guit->misc->schedule(1000, html_css_process_modified_styles, c); } } @@ -316,7 +316,7 @@ bool html_css_update_style(html_content *c, dom_node *style) s->modified = true; - guit->browser->schedule(0, html_css_process_modified_styles, c); + guit->misc->schedule(0, html_css_process_modified_styles, c); return true; } @@ -445,7 +445,7 @@ nserror html_css_free_stylesheets(html_content *html) { unsigned int i; - guit->browser->schedule(-1, html_css_process_modified_styles, html); + guit->misc->schedule(-1, html_css_process_modified_styles, html); for (i = 0; i != html->stylesheet_count; i++) { if (html->stylesheets[i].sheet != NULL) { diff --git a/render/html_object.c b/render/html_object.c index 933950ec3..e30b3ab09 100644 --- a/render/html_object.c +++ b/render/html_object.c @@ -322,7 +322,7 @@ html_object_callback(hlcache_handle *object, case CONTENT_MSG_REFRESH: if (content_get_type(object) == CONTENT_HTML) { /* only for HTML objects */ - guit->browser->schedule(event->data.delay * 1000, + guit->misc->schedule(event->data.delay * 1000, html_object_refresh, o); } @@ -619,7 +619,7 @@ nserror html_object_close_objects(html_content *html) continue; if (content_get_type(object->content) == CONTENT_HTML) { - guit->browser->schedule(-1, html_object_refresh, object); + guit->misc->schedule(-1, html_object_refresh, object); } content_close(object->content); @@ -636,7 +636,7 @@ nserror html_object_free_objects(html_content *html) LOG("object %p", victim->content); if (content_get_type(victim->content) == CONTENT_HTML) { - guit->browser->schedule(-1, html_object_refresh, victim); + guit->misc->schedule(-1, html_object_refresh, victim); } hlcache_handle_release(victim->content); } |