mirror of
https://github.com/servo/servo.git
synced 2025-10-07 20:19:21 +01: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
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue