From 981e80c2ad74af29970d3dd7cfbe6bc1bc15521f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 25 Oct 2014 15:01:42 +0100 Subject: Don't need access to content here. --- beos/window.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'beos') diff --git a/beos/window.cpp b/beos/window.cpp index 7eb8901fc..f9d9ff730 100644 --- a/beos/window.cpp +++ b/beos/window.cpp @@ -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) { - hlcache_handle *c = g->bw->current_content; - - if (c == NULL) + if (browser_window_has_content(g->bw) == false) return; if (g->view == NULL) -- cgit v1.2.3