mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
remove get_rooted() and replace all references to it with references to get()
This commit is contained in:
parent
430578355b
commit
4a4f041948
11 changed files with 28 additions and 34 deletions
|
@ -168,12 +168,12 @@ impl EventMethods for Event {
|
|||
|
||||
// https://dom.spec.whatwg.org/#dom-event-target
|
||||
fn GetTarget(&self) -> Option<Root<EventTarget>> {
|
||||
self.target.get_rooted()
|
||||
self.target.get()
|
||||
}
|
||||
|
||||
// https://dom.spec.whatwg.org/#dom-event-currenttarget
|
||||
fn GetCurrentTarget(&self) -> Option<Root<EventTarget>> {
|
||||
self.current_target.get_rooted()
|
||||
self.current_target.get()
|
||||
}
|
||||
|
||||
// https://dom.spec.whatwg.org/#dom-event-defaultprevented
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue