From 7920ff7b57d7bf931cd23b103ed34220f6616d3f Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Tue, 3 Oct 2017 13:00:52 +0200 Subject: [PATCH] TickAnimations should create a display list This is a regression from the removal of ReflowQueryType. Fixes #18701. --- components/script_layout_interface/message.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs index 2df0b7de1fb..a026b349ab8 100644 --- a/components/script_layout_interface/message.rs +++ b/components/script_layout_interface/message.rs @@ -126,12 +126,13 @@ impl ReflowGoal { pub fn needs_display_list(&self) -> bool { match *self { ReflowGoal::NodesFromPoint(..) | ReflowGoal::HitTestQuery(..) | - ReflowGoal::TextIndexQuery(..) | ReflowGoal::Full => true, + ReflowGoal::TextIndexQuery(..) | ReflowGoal::TickAnimations | + ReflowGoal::Full => true, ReflowGoal::ContentBoxQuery(_) | ReflowGoal::ContentBoxesQuery(_) | ReflowGoal::NodeGeometryQuery(_) | ReflowGoal::NodeScrollGeometryQuery(_) | ReflowGoal::NodeOverflowQuery(_) | ReflowGoal::NodeScrollRootIdQuery(_) | ReflowGoal::ResolvedStyleQuery(..) | ReflowGoal::OffsetParentQuery(_) | - ReflowGoal::MarginStyleQuery(_) | ReflowGoal::TickAnimations => false, + ReflowGoal::MarginStyleQuery(_) => false, } }