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

Unified Diff: tracing/tracing/model/cpu_test.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_slice.html ('k') | tracing/tracing/model/device.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/model/cpu_test.html
diff --git a/tracing/tracing/model/cpu_test.html b/tracing/tracing/model/cpu_test.html
index 7db87f5dad8bb57b0c8b67d8be4482707f9651f8..3173cba55abacdea060cfa4484630f71fccf87ce 100644
--- a/tracing/tracing/model/cpu_test.html
+++ b/tracing/tracing/model/cpu_test.html
@@ -45,8 +45,9 @@ tr.b.unittest.testSuite(function() {
cpu.slices.push(tr.c.TestUtils.newSliceEx({start: 1, duration: 3}));
var shiftCount = 0;
ctr.shiftTimestampsForward = function(ts) {
- if (ts === 0.32)
+ if (ts === 0.32) {
shiftCount++;
+ }
};
cpu.slices.push(tr.c.TestUtils.newSliceEx({start: 1, duration: 3}));
cpu.shiftTimestampsForward(0.32);
@@ -59,8 +60,9 @@ tr.b.unittest.testSuite(function() {
var s = new tr.model.CpuSlice(
'cat', name, 0, start, {}, duration);
s.cpu = cpu;
- if (opt_thread)
+ if (opt_thread) {
s.threadThatWasRunning = opt_thread;
+ }
return s;
}
« no previous file with comments | « tracing/tracing/model/cpu_slice.html ('k') | tracing/tracing/model/device.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698