aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/hubbub_html_parser.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-03-12 14:30:19 +0100
committerMs2ger <ms2ger@gmail.com>2014-03-12 14:30:19 +0100
commita15cac53bc4278e409ca850a79519f5d54e662b5 (patch)
tree4fd67e7f0b16e71111d395e6f9cadfc908550065 /src/components/script/html/hubbub_html_parser.rs
parentaf616dba58cbf589b116b9e3cde4429df43e72cd (diff)
downloadservo-a15cac53bc4278e409ca850a79519f5d54e662b5.tar.gz
servo-a15cac53bc4278e409ca850a79519f5d54e662b5.zip
Don't use the Untraceable fields outside the module they're defined in.
This pattern will become illegal with the next Rust upgrade.
Diffstat (limited to 'src/components/script/html/hubbub_html_parser.rs')
-rw-r--r--src/components/script/html/hubbub_html_parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs
index 67a05c94386..5e555b63f39 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -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();