Index: tracing/tracing/extras/tquery/filter_has_ancestor.html |
diff --git a/tracing/tracing/extras/tquery/filter_has_ancestor.html b/tracing/tracing/extras/tquery/filter_has_ancestor.html |
index 2b7d21148c99bc139be28d09fc274d6e9df771c6..355837ccd112f96fcf46a712b9a255d937813cab 100644 |
--- a/tracing/tracing/extras/tquery/filter_has_ancestor.html |
+++ b/tracing/tracing/extras/tquery/filter_has_ancestor.html |
@@ -28,12 +28,12 @@ tr.exportTo('tr.e.tquery', function() { |
}, |
evaluate: function(context) { |
- if (!this.subExpression) |
+ if (!this.subExpression) { |
return context.ancestors.length > 0; |
+ } |
while (context.ancestors.length) { |
context = context.pop(); |
- if (this.subExpression.evaluate(context)) |
- return true; |
+ if (this.subExpression.evaluate(context)) return true; |
} |
return false; |
} |