mirror of
https://github.com/servo/servo.git
synced 2025-06-14 19:34:29 +00:00
Use internal mutability for Attr::value.
This commit is contained in:
parent
f6294a67c5
commit
c90a8529c5
8 changed files with 35 additions and 25 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue