| Index: Source/devtools/front_end/elements/AnimationTimeline.js
|
| diff --git a/Source/devtools/front_end/elements/AnimationTimeline.js b/Source/devtools/front_end/elements/AnimationTimeline.js
|
| index 28b48ca2d710e6b1f28aac949748cdc0a8d59373..291f2cf5dd801ff60a13e41b2730ef823695d008 100644
|
| --- a/Source/devtools/front_end/elements/AnimationTimeline.js
|
| +++ b/Source/devtools/front_end/elements/AnimationTimeline.js
|
| @@ -46,7 +46,7 @@ WebInspector.AnimationTimeline.prototype = {
|
| this._animationsPlaybackRate = WebInspector.AnimationsSidebarPane.GlobalPlaybackRates[event.target.value];
|
| var target = WebInspector.targetManager.mainTarget();
|
| if (target)
|
| - target.animationAgent().setPlaybackRate(this._animationsPlaybackRate);
|
| + target.animationModel.setPlaybackRate(this._animationsPlaybackRate);
|
| this._playbackLabel.textContent = this._animationsPlaybackRate + "x";
|
| WebInspector.userMetrics.AnimationsPlaybackRateChanged.record();
|
| if (this._scrubberPlayer)
|
| @@ -366,7 +366,7 @@ WebInspector.AnimationTimeline.prototype = {
|
|
|
| var target = WebInspector.targetManager.mainTarget();
|
| if (target)
|
| - target.animationAgent().setPlaybackRate(0);
|
| + target.animationModel.setPlaybackRate(0);
|
| return true;
|
| },
|
|
|
| @@ -394,7 +394,7 @@ WebInspector.AnimationTimeline.prototype = {
|
| this._timelineScrubberHead.window().requestAnimationFrame(this._updateScrubber.bind(this));
|
| var target = WebInspector.targetManager.mainTarget();
|
| if (target)
|
| - target.animationAgent().setPlaybackRate(this._animationsPlaybackRate);
|
| + target.animationModel.setPlaybackRate(this._animationsPlaybackRate);
|
| },
|
|
|
| __proto__: WebInspector.VBox.prototype
|
|
|