Bug 842185 - "Remove From History" doesn't work r=mak

This commit is contained in:
Christian Sonne 2013-02-18 01:31:04 -08:00
parent 0476863f7c
commit e6c8a2167a

View File

@ -913,7 +913,7 @@ DownloadsDataCtor.prototype = {
case "download-manager-remove-download-guid":
// If a single download was removed, remove the corresponding data item.
if (aSubject) {
let downloadGuid = aSubject.data.QueryInterface(Ci.nsISupportsCString);
let downloadGuid = aSubject.QueryInterface(Ci.nsISupportsCString).data;
DownloadsCommon.log("A single download with id",
downloadGuid, "was removed.");
this._removeDataItem(downloadGuid);