stylo: Stop claiming to support unstyled children traversals for throttled animations.

The whole concept made me laugh a bit actually :)

MozReview-Commit-ID: 1KJrUYuaHxL
This commit is contained in:
Emilio Cobos Álvarez 2017-07-22 01:32:05 +02:00
parent a47fde038e
commit 8f152563dd
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -275,8 +275,7 @@ pub extern "C" fn Servo_TraverseSubtree(root: RawGeckoElementBorrowed,
(Root::Normal, Restyle::ForThrottledAnimationFlush)
=> TraversalFlags::empty(),
(Root::UnstyledChildrenOnly, Restyle::Normal) |
(Root::UnstyledChildrenOnly, Restyle::ForNewlyBoundElement) |
(Root::UnstyledChildrenOnly, Restyle::ForThrottledAnimationFlush)
(Root::UnstyledChildrenOnly, Restyle::ForNewlyBoundElement)
=> UNSTYLED_CHILDREN_ONLY,
(Root::Normal, Restyle::ForCSSRuleChanges) => FOR_CSS_RULE_CHANGES,
(Root::Normal, Restyle::ForReconstruct) => FOR_RECONSTRUCT,