diff --git a/ports/geckolib/glue.rs b/ports/geckolib/glue.rs index e2b73602013..bd1b2eec93d 100644 --- a/ports/geckolib/glue.rs +++ b/ports/geckolib/glue.rs @@ -262,11 +262,11 @@ pub extern "C" fn Servo_TraverseSubtree(root: RawGeckoElementBorrowed, let traversal_flags = match (root_behavior, restyle_behavior) { (Root::Normal, Restyle::Normal) | (Root::Normal, Restyle::ForNewlyBoundElement) | - (Root::Normal, Restyle::ForAnimationOnly) + (Root::Normal, Restyle::ForThrottledAnimationFlush) => TraversalFlags::empty(), (Root::UnstyledChildrenOnly, Restyle::Normal) | (Root::UnstyledChildrenOnly, Restyle::ForNewlyBoundElement) | - (Root::UnstyledChildrenOnly, Restyle::ForAnimationOnly) + (Root::UnstyledChildrenOnly, Restyle::ForThrottledAnimationFlush) => UNSTYLED_CHILDREN_ONLY, (Root::Normal, Restyle::ForCSSRuleChanges) => FOR_CSS_RULE_CHANGES, (Root::Normal, Restyle::ForReconstruct) => FOR_RECONSTRUCT, @@ -282,7 +282,7 @@ pub extern "C" fn Servo_TraverseSubtree(root: RawGeckoElementBorrowed, unsafe { &*snapshots }); } - if restyle_behavior == Restyle::ForAnimationOnly { + if restyle_behavior == Restyle::ForThrottledAnimationFlush { return needs_animation_only_restyle; }