mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 23:39:51 +03:00
Iframes have to have a parent content.
This commit is contained in:
parent
5d2d7d579e
commit
167336cce2
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user