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

Unified Diff: tracing/tracing/ui/analysis/frame_power_usage_chart_perf_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
Index: tracing/tracing/ui/analysis/frame_power_usage_chart_perf_test.html
diff --git a/tracing/tracing/ui/analysis/frame_power_usage_chart_perf_test.html b/tracing/tracing/ui/analysis/frame_power_usage_chart_perf_test.html
index 728bbf4be717540a4f1932127fd496bcd05f6ca6..2bfa7c32245a38b90f0bb3d1596d5984211863f7 100644
--- a/tracing/tracing/ui/analysis/frame_power_usage_chart_perf_test.html
+++ b/tracing/tracing/ui/analysis/frame_power_usage_chart_perf_test.html
@@ -25,8 +25,9 @@ tr.b.unittest.testSuite(function() {
var vsyncTimestamps = [];
for (var i = 0; i < numFrames; i++) {
vsyncTimestamps.push(i * samplesPerFrame);
- for (var j = 0; j < samplesPerFrame; j++)
+ for (var j = 0; j < samplesPerFrame; j++) {
series.addPowerSample(vsyncTimestamps[i] + j, j);
+ }
}
var samples = series.samples;
« no previous file with comments | « tracing/tracing/ui/analysis/frame_power_usage_chart.html ('k') | tracing/tracing/ui/analysis/generic_object_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698