mirror of
https://github.com/servo/servo.git
synced 2025-06-10 09:33:13 +00:00
Stop passing DOMStrings via borrowed pointer. (#1201)
This commit is contained in:
parent
b1762655e6
commit
f5ef4365f4
74 changed files with 364 additions and 366 deletions
|
@ -24,7 +24,7 @@ impl HTMLMediaElement {
|
|||
~""
|
||||
}
|
||||
|
||||
pub fn SetSrc(&mut self, _src: &DOMString) -> ErrorResult {
|
||||
pub fn SetSrc(&mut self, _src: DOMString) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
@ -36,7 +36,7 @@ impl HTMLMediaElement {
|
|||
~""
|
||||
}
|
||||
|
||||
pub fn SetCrossOrigin(&mut self, _cross_origin: &DOMString) -> ErrorResult {
|
||||
pub fn SetCrossOrigin(&mut self, _cross_origin: DOMString) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
@ -44,14 +44,14 @@ impl HTMLMediaElement {
|
|||
~""
|
||||
}
|
||||
|
||||
pub fn SetPreload(&mut self, _preload: &DOMString) -> ErrorResult {
|
||||
pub fn SetPreload(&mut self, _preload: DOMString) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn Load(&self) {
|
||||
}
|
||||
|
||||
pub fn CanPlayType(&self, _type: &DOMString) -> DOMString {
|
||||
pub fn CanPlayType(&self, _type: DOMString) -> DOMString {
|
||||
~""
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue