mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove an obsolete TODO comment.
This commit is contained in:
parent
e85b1e4e89
commit
f4cf90f127
1 changed files with 0 additions and 1 deletions
|
@ -148,7 +148,6 @@ pub fn dispatch_event(target: &EventTarget, pseudo_target: Option<&EventTarget>,
|
||||||
|
|
||||||
event.set_dispatching(true);
|
event.set_dispatching(true);
|
||||||
|
|
||||||
//TODO: no chain if not participating in a tree
|
|
||||||
let mut chain: RootedVec<JS<EventTarget>> = RootedVec::new();
|
let mut chain: RootedVec<JS<EventTarget>> = RootedVec::new();
|
||||||
if let Some(target_node) = NodeCast::to_ref(target) {
|
if let Some(target_node) = NodeCast::to_ref(target) {
|
||||||
for ancestor in target_node.ancestors() {
|
for ancestor in target_node.ancestors() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue