mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
script: to_string() -> into_string()
This commit is contained in:
parent
475ff4dcb7
commit
e9d1740e19
39 changed files with 152 additions and 152 deletions
|
@ -188,7 +188,7 @@ impl<'a> VirtualMethods for JSRef<'a, HTMLImageElement> {
|
|||
&atom!("src") => {
|
||||
let window = window_from_node(*self).root();
|
||||
let url = window.get_url();
|
||||
self.update_image(Some((attr.value().as_slice().to_string(), &url)));
|
||||
self.update_image(Some((attr.value().as_slice().into_string(), &url)));
|
||||
},
|
||||
_ => ()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue