From a904515b3effab73209998cbb9ad6a0674224289 Mon Sep 17 00:00:00 2001 From: Paolo Amadini Date: Sat, 21 Apr 2018 11:12:55 +0100 Subject: [PATCH] Backed out changeset 40c5d3600d35 (bug 1455737) for breaking DownloadHistoryList. a=backout --HG-- extra : rebase_source : ebb793b3cc4864593d18df1a1b69cc74df0cf2af --- toolkit/components/downloads/DownloadHistory.jsm | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/toolkit/components/downloads/DownloadHistory.jsm b/toolkit/components/downloads/DownloadHistory.jsm index d1501e6294cd..40ce09d9a91f 100644 --- a/toolkit/components/downloads/DownloadHistory.jsm +++ b/toolkit/components/downloads/DownloadHistory.jsm @@ -454,17 +454,6 @@ this.DownloadHistoryList.prototype = { }, _result: null, - /** - * Remove the view that belongs to this list via DownloadList's removeView. In - * addition, delete the result object to ensure there are no memory leaks. - */ - removeView(aView) { - DownloadList.prototype.removeView.call(this, aView); - - // Clean up any active results that might still be observing. See bug 1455737 - this.result = null; - }, - /** * Index of the first slot that contains a session download. This is equal to * the length of the list when there are no session downloads.