Bug 834048 - Add required param for f.remove(). r=mfinkle a=lsblakk
authorBrian Nicholson <bnicholson@mozilla.com>
Thu, 24 Jan 2013 13:52:12 -0800
changeset 127324 aeb0bb88687f7afddb2a5a763108205276a8d6f4
parent 127323 8560b368e2a8817b8266527cebfd63708fb04deb
child 127325 82e55e84d69b75efee32d695770cca7365bbb331
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle, lsblakk
bugs834048
milestone20.0a2
Bug 834048 - Add required param for f.remove(). r=mfinkle a=lsblakk
mobile/android/chrome/content/aboutDownloads.js
--- a/mobile/android/chrome/content/aboutDownloads.js
+++ b/mobile/android/chrome/content/aboutDownloads.js
@@ -432,17 +432,17 @@ let Downloads = {
         f = aDownload.targetFile;
       } catch (ex) {
         // even if there is no file, pretend that there is so that we can remove
         // it from the list
         f = { leafName: "" };
       }
       aDownload.remove();
       try {
-        if (f) f.remove();
+        if (f) f.remove(false);
       } catch (ex) {
         this.logError("removeDownload() " + ex, aDownload);
       }
     }.bind(this));
     aItem.parentNode.removeChild(aItem);
   },
 
   deleteAll: function dl_deleteAll() {