style: Make the skip-applying-damage stuff Gecko-only.

This commit is contained in:
Emilio Cobos Álvarez 2017-09-06 14:54:20 +02:00
parent d8234fef82
commit ac2be54470
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -373,7 +373,7 @@ trait PrivateMatchMethods: TElement {
// for followup work to make the optimization here more optimal by considering
// each bit individually.
let skip_applying_damage =
restyle.reconstructed_self_or_ancestor();
cfg!(feature = "gecko") && restyle.reconstructed_self_or_ancestor();
let difference =
self.compute_style_difference(old_values, new_values, pseudo);