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

Unified Diff: tracing/tracing/extras/system_stats/system_stats_snapshot.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
« no previous file with comments | « tracing/tracing/extras/net/net_async_slice.html ('k') | tracing/tracing/extras/tquery/filter.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/extras/system_stats/system_stats_snapshot.html
diff --git a/tracing/tracing/extras/system_stats/system_stats_snapshot.html b/tracing/tracing/extras/system_stats/system_stats_snapshot.html
index a4786bf47016c906b08caf9679dd68a12e718391..dc8a5dde12b3191692cb31b6f067f21c84d80e44 100644
--- a/tracing/tracing/extras/system_stats/system_stats_snapshot.html
+++ b/tracing/tracing/extras/system_stats/system_stats_snapshot.html
@@ -28,8 +28,9 @@ tr.exportTo('tr.e.system_stats', function() {
__proto__: ObjectSnapshot.prototype,
initialize: function() {
- if (this.args.length === 0)
+ if (this.args.length === 0) {
throw new Error('No system stats snapshot data.');
+ }
this.stats_ = this.args;
},
« no previous file with comments | « tracing/tracing/extras/net/net_async_slice.html ('k') | tracing/tracing/extras/tquery/filter.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698