mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-17 15:04:18 +03:00
Remove pointless search
svn path=/trunk/netsurf/; revision=11965
This commit is contained in:
parent
1edcef6141
commit
a2d7cc9df1
@ -1475,16 +1475,6 @@ nserror html_object_callback(hlcache_handle *object,
|
||||
|
||||
case CONTENT_MSG_REFRESH:
|
||||
if (content_get_type(object) == CONTENT_HTML) {
|
||||
struct content_html_object *o;
|
||||
|
||||
for (o = c->data.html.object_list; o != NULL;
|
||||
o = o->next) {
|
||||
if (o->content == object)
|
||||
break;
|
||||
}
|
||||
|
||||
assert(o != NULL);
|
||||
|
||||
/* only for HTML objects */
|
||||
schedule(event->data.delay * 100,
|
||||
html_object_refresh, o);
|
||||
|
Loading…
x
Reference in New Issue
Block a user