style: Minor reformatting.

MozReview-Commit-ID: KVCfX3LqccF
This commit is contained in:
Emilio Cobos Álvarez 2017-07-22 14:38:36 +02:00
parent 689ee54db3
commit 55d9151dd3
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
2 changed files with 19 additions and 13 deletions

View file

@ -480,9 +480,11 @@ pub trait TElement : Eq + PartialEq + Debug + Hash + Sized + Copy + Clone +
}
/// Returns whether the element's styles are up-to-date for |traversal_flags|.
fn has_current_styles_for_traversal(&self,
data: &ElementData,
traversal_flags: TraversalFlags) -> bool {
fn has_current_styles_for_traversal(
&self,
data: &ElementData,
traversal_flags: TraversalFlags,
) -> bool {
if traversal_flags.for_animation_only() {
// In animation-only restyle we never touch snapshots and don't
// care about them. But we can't assert '!self.handled_snapshot()'