From e44cbdba906ee2ae9dd3a4f8cd3f1a6240b10701 Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Fri, 17 Apr 2015 10:14:14 +0200 Subject: [PATCH] Bug 1155553 - Fixes animationinspector regression with actor-capabilities detection; r=bgrins --HG-- extra : rebase_source : 31a4ed8dc5ed85a11c95e4a895955d2ac5c19b43 --- browser/devtools/animationinspector/animation-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/devtools/animationinspector/animation-controller.js b/browser/devtools/animationinspector/animation-controller.js index 22234456b9a5..c5254731f049 100644 --- a/browser/devtools/animationinspector/animation-controller.js +++ b/browser/devtools/animationinspector/animation-controller.js @@ -102,6 +102,7 @@ let AnimationsController = { this.onAnimationMutations = this.onAnimationMutations.bind(this); let target = gToolbox.target; + this.animationsFront = new AnimationsFront(target.client, target.form); // Expose actor capabilities. this.hasToggleAll = yield target.actorHasMethod("animations", "toggleAll"); @@ -117,7 +118,6 @@ let AnimationsController = { return; } - this.animationsFront = new AnimationsFront(target.client, target.form); this.startListeners(); yield this.onNewNodeFront();