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

Unified Diff: tracing/tracing/model/event_container.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/event.html ('k') | tracing/tracing/model/event_registry.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/event_container.html
diff --git a/tracing/tracing/model/event_container.html b/tracing/tracing/model/event_container.html
index fa01a6dee998016073d8e0b171bd151c9b179dfb..9ecc30dc6cdb2d9e8a292eff8a154fff5a181df9 100644
--- a/tracing/tracing/model/event_container.html
+++ b/tracing/tracing/model/event_container.html
@@ -83,8 +83,9 @@ tr.exportTo('tr.model', function() {
*/
getDescendantEvents: function* () {
yield* this.childEvents();
- for (var container of this.childEventContainers())
+ for (var container of this.childEventContainers()) {
yield* container.getDescendantEvents();
+ }
},
/**
@@ -98,8 +99,9 @@ tr.exportTo('tr.model', function() {
*/
getDescendantEventContainers: function* () {
yield this;
- for (var container of this.childEventContainers())
+ for (var container of this.childEventContainers()) {
yield* container.getDescendantEventContainers();
+ }
},
/**
@@ -124,8 +126,9 @@ tr.exportTo('tr.model', function() {
* not itself a top-level slice.
*/
findTopmostSlices: function* (eventPredicate) {
- for (var ec of this.getDescendantEventContainers())
+ for (var ec of this.getDescendantEventContainers()) {
yield* ec.findTopmostSlicesInThisContainer(eventPredicate);
+ }
},
findTopmostSlicesNamed: function* (name) {
« no previous file with comments | « tracing/tracing/model/event.html ('k') | tracing/tracing/model/event_registry.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698