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

Unified Diff: tracing/tracing/model/resource_usage_series.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: Fix test 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 e9ba2f6f2203b1219acc670c67b66b6b92243686..bd70a4a5467d319acf6c7ec620764f91a52cbc8f 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() {

Powered by Google App Engine
This is Rietveld 408576698