Make IFrameLoadInfo take an Option<LoadData> instead of Option<Url>

This commit is contained in:
Keith Yeung 2016-04-25 19:16:55 -04:00
parent e1091128cd
commit 3110647852
4 changed files with 20 additions and 13 deletions

View file

@ -1812,7 +1812,7 @@ impl ScriptThread {
doc.find_iframe(subpage_id)
});
if let Some(iframe) = iframe.r() {
iframe.navigate_or_reload_child_browsing_context(Some(load_data.url));
iframe.navigate_or_reload_child_browsing_context(Some(load_data));
}
}
None => {