зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 40c5d3600d35 (bug 1455737) for breaking DownloadHistoryList. a=backout
--HG-- extra : rebase_source : ebb793b3cc4864593d18df1a1b69cc74df0cf2af
This commit is contained in:
Родитель
f790d1c4cb
Коммит
a904515b3e
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче