TickAnimations should create a display list

This is a regression from the removal of ReflowQueryType.

Fixes #18701.
This commit is contained in:
Martin Robinson 2017-10-03 13:00:52 +02:00
parent 2a5121357a
commit 7920ff7b57

View file

@ -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,
}
}