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

Unified Diff: tracing/tracing/model/resource_usage_series.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/model/resource_usage_series.html
diff --git a/tracing/tracing/model/resource_usage_series.html b/tracing/tracing/model/resource_usage_series.html
index 282278bb377450818c14a3da5be6c281d0521dc1..7aaf9845316c736645566a187d7311c1bfe04e6f 100644
--- a/tracing/tracing/model/resource_usage_series.html
+++ b/tracing/tracing/model/resource_usage_series.html
@@ -95,8 +95,9 @@ tr.exportTo('tr.model', function() {
}
shiftTimestampsForward(amount) {
- for (var i = 0; i < this.samples_.length; ++i)
+ for (var i = 0; i < this.samples_.length; ++i) {
this.samples_[i].start += amount;
+ }
}
updateBounds() {
« no previous file with comments | « tracing/tracing/model/proxy_selectable_item.html ('k') | tracing/tracing/model/resource_usage_series_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698