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

Unified Diff: tracing/tracing/extras/vsync/vsync_auditor_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/extras/vsync/vsync_auditor.html ('k') | tracing/tracing/importer/context_processor.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/extras/vsync/vsync_auditor_test.html
diff --git a/tracing/tracing/extras/vsync/vsync_auditor_test.html b/tracing/tracing/extras/vsync/vsync_auditor_test.html
index d4c4b81f0d60598ac05c36cb8ae59f6a481868a0..5cb68cdd04b39ba83b8d82f7cef639626955c9c7 100644
--- a/tracing/tracing/extras/vsync/vsync_auditor_test.html
+++ b/tracing/tracing/extras/vsync/vsync_auditor_test.html
@@ -30,8 +30,9 @@ tr.b.unittest.testSuite(function() {
var process = model.getOrCreateProcess(1);
for (var i = 0; i < slices.length; i++) {
var thread = process.getOrCreateThread(i);
- for (var j = 0; j < slices[i].length; j++)
+ for (var j = 0; j < slices[i].length; j++) {
thread.sliceGroup.pushSlice(slices[i][j]);
+ }
}
for (var i = 0; i < counters.length; i++) {
var counter = process.getOrCreateCounter(
@@ -48,8 +49,9 @@ tr.b.unittest.testSuite(function() {
function buildCounterSeries(name, timestamps) {
var series = new CounterSeries(name, '');
- for (var i = 0; i < timestamps.length; i++)
+ for (var i = 0; i < timestamps.length; i++) {
series.addCounterSample(timestamps[i], 1);
+ }
return series;
}
« no previous file with comments | « tracing/tracing/extras/vsync/vsync_auditor.html ('k') | tracing/tracing/importer/context_processor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698