diff options
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r-- | components/layout/layout_task.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs index 14fe24fc3e6..42dcddb57a4 100644 --- a/components/layout/layout_task.rs +++ b/components/layout/layout_task.rs @@ -1196,7 +1196,9 @@ impl LayoutTask { if !needs_dirtying { for &(el, state_change) in state_changes.iter() { debug_assert!(!state_change.is_empty()); - let hint = rw_data.stylist.restyle_hint_for_state_change(&el, el.get_state(), state_change); + let hint = rw_data.stylist.restyle_hint_for_state_change(&el, + el.get_state(), + state_change); el.note_restyle_hint(hint); } } |