Bug 1343753 - Pass None before change style to Gecko_UpdateAnimations.

CSS Transition is not supported yet, so use None as the parameter.

MozReview-Commit-ID: Kv77lN92ny5
This commit is contained in:
Boris Chiou 2017-04-12 16:34:56 +08:00
parent 28db6788b1
commit 9a3905f834
2 changed files with 3 additions and 0 deletions

View file

@ -678,6 +678,7 @@ impl<'le> TElement for GeckoElement<'le> {
let atom_ptr = PseudoElement::ns_atom_or_null_from_opt(pseudo);
unsafe {
Gecko_UpdateAnimations(self.0, atom_ptr,
None,
computed_values_opt,
parent_values_opt,
tasks.bits());

View file

@ -630,6 +630,8 @@ extern "C" {
extern "C" {
pub fn Gecko_UpdateAnimations(aElement: RawGeckoElementBorrowed,
aPseudoTagOrNull: *mut nsIAtom,
aOldComputedValues:
ServoComputedValuesBorrowedOrNull,
aComputedValues:
ServoComputedValuesBorrowedOrNull,
aParentComputedValues: