mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +01:00
Remove as_slice() calls from script.
This commit is contained in:
parent
ef536372cd
commit
a862479ca8
42 changed files with 115 additions and 124 deletions
|
@ -312,7 +312,7 @@ impl ToJSValConvertible for str {
|
|||
|
||||
impl ToJSValConvertible for DOMString {
|
||||
fn to_jsval(&self, cx: *mut JSContext) -> JSVal {
|
||||
self.as_slice().to_jsval(cx)
|
||||
(**self).to_jsval(cx)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue