Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Unified Diff: tracing/tracing/extras/tquery/filter_is_top_level.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tracing/tracing/extras/tquery/filter_is_top_level.html
diff --git a/tracing/tracing/extras/tquery/filter_is_top_level.html b/tracing/tracing/extras/tquery/filter_is_top_level.html
index 928d2e9b3af732e1073d3b2738b0489767033e05..65135ed9e4179ca4f6aa0de35cfe9c7e55a422e9 100644
--- a/tracing/tracing/extras/tquery/filter_is_top_level.html
+++ b/tracing/tracing/extras/tquery/filter_is_top_level.html
@@ -28,10 +28,8 @@ tr.exportTo('tr.e.tquery', function() {
},
evaluate: function(context) {
- if (context.ancestors.length > 0)
- return false;
- if (!this.subExpression)
- return true;
+ if (context.ancestors.length > 0) return false;
+ if (!this.subExpression) return true;
return this.subExpression.evaluate(context);
}
};
« no previous file with comments | « tracing/tracing/extras/tquery/filter_has_duration.html ('k') | tracing/tracing/extras/tquery/filter_not.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698