aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-06-12 10:00:18 +0200
committerTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2014-06-22 20:39:21 +0900
commitc90a8529c5d88e4100ce9948da134694c80d39f4 (patch)
tree337ad6e71853b22c72679fc736d1b47b6c070e18 /src/components/script/html
parentf6294a67c58e635f71a01ece3091879751984fe4 (diff)
downloadservo-c90a8529c5d88e4100ce9948da134694c80d39f4.tar.gz
servo-c90a8529c5d88e4100ce9948da134694c80d39f4.zip
Use internal mutability for Attr::value.
Diffstat (limited to 'src/components/script/html')
-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 8909ba690bb..de396368206 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -502,7 +502,7 @@ pub fn parse_html(page: &Page,
match script.get_attribute(Null, "src").root() {
Some(src) => {
debug!("found script: {:s}", src.deref().Value());
- let new_url = parse_url(src.deref().value_ref(), Some(url3.clone()));
+ let new_url = parse_url(src.deref().value().as_slice(), Some(url3.clone()));
js_chan2.send(JSTaskNewFile(new_url));
}
None => {