mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-06 11:02:22 +03:00
Don't need access to content here.
This commit is contained in:
parent
7f6024ed9a
commit
981e80c2ad
@ -1016,9 +1016,7 @@ static void gui_window_redraw_window(struct gui_window *g)
|
|||||||
|
|
||||||
static void gui_window_update_box(struct gui_window *g, const struct rect *rect)
|
static void gui_window_update_box(struct gui_window *g, const struct rect *rect)
|
||||||
{
|
{
|
||||||
hlcache_handle *c = g->bw->current_content;
|
if (browser_window_has_content(g->bw) == false)
|
||||||
|
|
||||||
if (c == NULL)
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (g->view == NULL)
|
if (g->view == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user