| 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;
|
|
|