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

Unified Diff: tracing/tracing/ui/timeline_display_transform_animations.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/ui/timeline_display_transform.html ('k') | tracing/tracing/ui/timeline_interest_range.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/timeline_display_transform_animations.html
diff --git a/tracing/tracing/ui/timeline_display_transform_animations.html b/tracing/tracing/ui/timeline_display_transform_animations.html
index db95593868a5498de37fe35dfdeac72e8c0e8552..97c316972588bd200c2bd1de19b231032f94950b 100644
--- a/tracing/tracing/ui/timeline_display_transform_animations.html
+++ b/tracing/tracing/ui/timeline_display_transform_animations.html
@@ -27,10 +27,11 @@ tr.exportTo('tr.ui', function() {
deltaX, deltaY, opt_durationMs) {
this.deltaX = deltaX;
this.deltaY = deltaY;
- if (opt_durationMs === undefined)
+ if (opt_durationMs === undefined) {
this.durationMs = kDefaultPanAnimationDurationMs;
- else
+ } else {
this.durationMs = opt_durationMs;
+ }
this.startPanX = undefined;
this.startPanY = undefined;
@@ -117,10 +118,11 @@ tr.exportTo('tr.ui', function() {
this.goalFocalPointXView = goalFocalPointXView;
this.goalFocalPointY = goalFocalPointY;
this.zoomInRatioX = zoomInRatioX;
- if (opt_durationMs === undefined)
+ if (opt_durationMs === undefined) {
this.durationMs = kDefaultPanAnimationDurationMs;
- else
+ } else {
this.durationMs = opt_durationMs;
+ }
this.startTimeMs = undefined;
this.startScaleX = undefined;
« no previous file with comments | « tracing/tracing/ui/timeline_display_transform.html ('k') | tracing/tracing/ui/timeline_interest_range.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698