Move EventState to rust-selectors.

This commit is contained in:
Bobby Holley 2015-10-21 11:37:51 -07:00
parent f7f27a8146
commit 79ac365a68
20 changed files with 114 additions and 169 deletions

View file

@ -1180,11 +1180,11 @@ impl LayoutTask {
}
}
let event_state_changes = document.drain_event_state_changes();
let state_changes = document.drain_element_state_changes();
if !needs_dirtying {
for &(el, state) in event_state_changes.iter() {
for &(el, state) in state_changes.iter() {
assert!(!state.is_empty());
el.note_event_state_change();
el.note_state_change();
}
}