Bug 1447709 - Remove old-event-emitter usage from new performance panel; r=gregtatum.
authorNicolas Chevobbe <nchevobbe@mozilla.com>
Wed, 21 Mar 2018 17:55:35 +0100
changeset 1460140 c5360fbf0593cbd887b39c918a713825f097b9d7
parent 1459744 e636edf00e6fbdc3206c9df4a1548ae38b3d13fa
child 1460141 62668e1f8cafb845a1f8e8e04d84005f453ad2da
push id260094
push usernchevobbe@mozilla.com
push dateWed, 21 Mar 2018 17:01:33 +0000
treeherdertry@62668e1f8caf [default view] [failures only]
reviewersgregtatum
bugs1447709
milestone61.0a1
Bug 1447709 - Remove old-event-emitter usage from new performance panel; r=gregtatum. MozReview-Commit-ID: G0P4E1jO63M
devtools/client/performance-new/panel.js
--- a/devtools/client/performance-new/panel.js
+++ b/devtools/client/performance-new/panel.js
@@ -1,17 +1,16 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 "use strict";
 
 const { PerfFront } = require("devtools/shared/fronts/perf");
 
-loader.lazyRequireGetter(this, "EventEmitter",
-  "devtools/shared/old-event-emitter");
+loader.lazyRequireGetter(this, "EventEmitter", "devtools/shared/event-emitter");
 
 class PerformancePanel {
   constructor(iframeWindow, toolbox) {
     this.panelWin = iframeWindow;
     this.toolbox = toolbox;
 
     EventEmitter.decorate(this);
   }