Bug 1130040 - Remove undefined reference to EVENTS.RECORDING_CREATED in performance-controller.js, r=me
authorVictor Porof <vporof@mozilla.com>
Thu, 05 Feb 2015 21:51:35 -0500
changeset 227772 00a4e75da857b51978751099679ceb4f9984226f
parent 227771 0a92f400101e19d42eec636a099cdc0c1a27ebb9
child 227773 e0e812319eaeca663f61fa8cac50ce58e7c6d68a
push id28239
push userryanvm@gmail.com
push dateFri, 06 Feb 2015 13:52:40 +0000
treeherdermozilla-central@03b0004eba32 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1130040
milestone38.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1130040 - Remove undefined reference to EVENTS.RECORDING_CREATED in performance-controller.js, r=me
browser/devtools/performance/performance-controller.js
--- a/browser/devtools/performance/performance-controller.js
+++ b/browser/devtools/performance/performance-controller.js
@@ -296,18 +296,16 @@ let PerformanceController = {
    * internally in the controller.
    *
    * @return RecordingModel
    *         The newly created recording model.
    */
   _createRecording: function () {
     let recording = new RecordingModel({ front: gFront, performance });
     this._recordings.push(recording);
-
-    this.emit(EVENTS.RECORDING_CREATED, recording);
     return recording;
   },
 
   /**
    * Sets the currently active RecordingModel.
    * @param RecordingModel recording
    */
   setCurrentRecording: function (recording) {