mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Upgrade to rust-url 1.0 and hyper 0.9
This commit is contained in:
parent
305c283602
commit
7932ab6ac2
76 changed files with 524 additions and 888 deletions
|
@ -316,7 +316,7 @@ impl HTMLImageElementMethods for HTMLImageElement {
|
|||
fn CurrentSrc(&self) -> DOMString {
|
||||
let ref url = self.current_request.borrow().url;
|
||||
match *url {
|
||||
Some(ref url) => DOMString::from(url.serialize()),
|
||||
Some(ref url) => DOMString::from(url.as_str()),
|
||||
None => DOMString::from(""),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue