aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r--components/layout/layout_task.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs
index 5f9c732d87c..4ebe8363fbc 100644
--- a/components/layout/layout_task.rs
+++ b/components/layout/layout_task.rs
@@ -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();
}
}