Revert "Backed out changeset b10e6ba9cbdb because gecko part had to be backed out."

This reverts commit b96d96d448.

The fix on the Gecko side is trivial, and I can land it after this lands.
This commit is contained in:
Emilio Cobos Álvarez 2017-07-20 17:26:53 +02:00
parent 3d3f30a3f9
commit ef4fbfaa6b
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
6 changed files with 18 additions and 10 deletions

View file

@ -161,7 +161,9 @@ pub fn recalc_style_for_animations(context: &LayoutContext,
&mut fragment.style,
&ServoMetricsProvider);
let difference =
RestyleDamage::compute_style_difference(&old_style, &fragment.style);
RestyleDamage::compute_style_difference(&old_style,
&old_style,
&fragment.style);
damage |= difference.damage;
}
}