Use internal mutability for Attr::value.

This commit is contained in:
Ms2ger 2014-06-12 10:00:18 +02:00 committed by Tetsuharu OHZEKI
parent f6294a67c5
commit c90a8529c5
8 changed files with 35 additions and 25 deletions

View file

@ -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 => {