From e448c4a27ea780fd92804f33547c2f5f95abbf89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sun, 21 May 2017 02:49:40 +0200 Subject: [PATCH] style: Fix whitespace issue in the rule tree code. --- components/style/rule_tree/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/rule_tree/mod.rs b/components/style/rule_tree/mod.rs index bfc6c19bf96..5fd963e3d49 100644 --- a/components/style/rule_tree/mod.rs +++ b/components/style/rule_tree/mod.rs @@ -684,7 +684,7 @@ impl StrongRuleNode { let mut last = None; // TODO(emilio): We could avoid all the refcount churn here. for child in self.get().iter_children() { - if child .get().level == level && + if child.get().level == level && child.get().source.as_ref().unwrap().ptr_equals(&source) { return child; }