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

Unified Diff: tracing/tracing/value/diagnostics/scalar.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/value/diagnostics/related_histogram_map.html ('k') | tracing/tracing/value/histogram.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/value/diagnostics/scalar.html
diff --git a/tracing/tracing/value/diagnostics/scalar.html b/tracing/tracing/value/diagnostics/scalar.html
index 2a683753ca09fbb4e57ec1232a5b195305cb6ea1..397ec7d31b5631bfc796d5a175f5a0e69e8f1d89 100644
--- a/tracing/tracing/value/diagnostics/scalar.html
+++ b/tracing/tracing/value/diagnostics/scalar.html
@@ -18,8 +18,9 @@ tr.exportTo('tr.v.d', function() {
*/
constructor(value) {
super();
- if (!(value instanceof tr.b.Scalar))
+ if (!(value instanceof tr.b.Scalar)) {
throw new Error('expected Scalar');
+ }
this.value = value;
}
« no previous file with comments | « tracing/tracing/value/diagnostics/related_histogram_map.html ('k') | tracing/tracing/value/histogram.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698