| Index: third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js b/third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js
|
| index b1c2e7394517f9d41dd00241dab34172b958f668..3109bedb4f53b7bf1da9989fc3099d2cf68e25f4 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js
|
| @@ -8,12 +8,13 @@
|
| Animation.AnimationModel = class extends SDK.SDKModel {
|
| /**
|
| * @param {!SDK.Target} target
|
| + * @param {!Protocol.Dispatcher} dispatcher
|
| */
|
| - constructor(target) {
|
| - super(target);
|
| + constructor(target, dispatcher) {
|
| + super(target, dispatcher);
|
| this._runtimeModel = /** @type {!SDK.RuntimeModel} */ (target.model(SDK.RuntimeModel));
|
| - this._agent = target.animationAgent();
|
| - target.registerAnimationDispatcher(new Animation.AnimationDispatcher(this));
|
| + this._agent = dispatcher.animationAgent();
|
| + dispatcher.registerAnimationDispatcher(new Animation.AnimationDispatcher(this));
|
| /** @type {!Map.<string, !Animation.AnimationModel.Animation>} */
|
| this._animationsById = new Map();
|
| /** @type {!Map.<string, !Animation.AnimationModel.AnimationGroup>} */
|
|
|