Stop passing DOMStrings via borrowed pointer. (#1201)

This commit is contained in:
Tetsuharu OHZEKI 2013-11-09 03:55:30 +09:00
parent b1762655e6
commit f5ef4365f4
74 changed files with 364 additions and 366 deletions

View file

@ -33,7 +33,7 @@ impl UIEvent {
}
pub fn Constructor(owner: @mut Window,
type_: &DOMString,
type_: DOMString,
init: &UIEventBinding::UIEventInit) -> Fallible<AbstractEvent> {
let ev = UIEvent::new(owner, UIEventTypeId);
ev.mut_uievent().InitUIEvent(type_, init.parent.bubbles, init.parent.cancelable,
@ -50,7 +50,7 @@ impl UIEvent {
}
pub fn InitUIEvent(&mut self,
type_: &DOMString,
type_: DOMString,
can_bubble: bool,
cancelable: bool,
view: Option<@mut WindowProxy>,