Iframes have to have a parent content.

This commit is contained in:
Michael Drake 2012-10-11 13:06:51 +01:00
parent 5d2d7d579e
commit 167336cce2

View File

@ -1745,6 +1745,8 @@ void browser_window_update(struct browser_window *bw, bool scroll_to_top)
case BROWSER_WINDOW_IFRAME:
/* Internal iframe browser window */
assert(bw->parent != NULL);
assert(bw->parent->current_content != NULL);
browser_window_update_extent(bw);