mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
Don't use the Untraceable fields outside the module they're defined in.
This pattern will become illegal with the next Rust upgrade.
This commit is contained in:
parent
af616dba58
commit
a15cac53bc
8 changed files with 23 additions and 9 deletions
|
@ -357,7 +357,7 @@ pub fn parse_html(page: &Page,
|
|||
let src_opt = elem.get().get_attribute(Null, "src").map(|x| x.get().Value());
|
||||
for src in src_opt.iter() {
|
||||
let iframe_url = parse_url(*src, Some(url2.clone()));
|
||||
iframe_element.get_mut().extra.frame = Some(iframe_url.clone());
|
||||
iframe_element.get_mut().set_frame(iframe_url.clone());
|
||||
|
||||
// Subpage Id
|
||||
let subpage_id = next_subpage_id.get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue