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/cpu_slice.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/cpu.html ('k') | tracing/tracing/model/cpu_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/cpu_slice.html
diff --git a/tracing/tracing/model/cpu_slice.html b/tracing/tracing/model/cpu_slice.html
index f42704b2463e5858fddf136d44aa18e42d129c0a..290181f8a3229d5b3ba17269ddd2f7ef1c198006 100644
--- a/tracing/tracing/model/cpu_slice.html
+++ b/tracing/tracing/model/cpu_slice.html
@@ -36,15 +36,18 @@ tr.exportTo('tr.model', function() {
},
getAssociatedTimeslice: function() {
- if (!this.threadThatWasRunning)
+ if (!this.threadThatWasRunning) {
return undefined;
+ }
var timeSlices = this.threadThatWasRunning.timeSlices;
for (var i = 0; i < timeSlices.length; i++) {
var timeSlice = timeSlices[i];
- if (timeSlice.start !== this.start)
+ if (timeSlice.start !== this.start) {
continue;
- if (timeSlice.duration !== this.duration)
+ }
+ if (timeSlice.duration !== this.duration) {
continue;
+ }
return timeSlice;
}
return undefined;
« no previous file with comments | « tracing/tracing/model/cpu.html ('k') | tracing/tracing/model/cpu_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698