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

Unified Diff: tracing/tracing/model/event.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/model/device_test.html ('k') | tracing/tracing/model/event_container.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/event.html
diff --git a/tracing/tracing/model/event.html b/tracing/tracing/model/event.html
index c087609d7bb158af516d7eae9798306bfa30308d..a2623bc3986b719e0a39e4dc86038e00b62e415b 100644
--- a/tracing/tracing/model/event.html
+++ b/tracing/tracing/model/event.html
@@ -58,8 +58,9 @@ tr.exportTo('tr.model', function() {
associatedAlerts: IMMUTABLE_EMPTY_SET,
addAssociatedAlert: function(alert) {
- if (this.associatedAlerts === IMMUTABLE_EMPTY_SET)
+ if (this.associatedAlerts === IMMUTABLE_EMPTY_SET) {
this.associatedAlerts = new tr.model.EventSet();
+ }
this.associatedAlerts.push(alert);
},
« no previous file with comments | « tracing/tracing/model/device_test.html ('k') | tracing/tracing/model/event_container.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698