Bug 684107 followup - stop importing XPCOMUtils.jsm and Dict.jsm into DownloadLastDir.jsm; r=gavin
authorGeoff Lankow <geoff@darktrojan.net>
Fri, 20 Jan 2012 19:58:38 +1300
changeset 86257 6ccf407f0b858e951c5d211da0222ffcd5d3b5aa
parent 86256 13b29452a036f4e8b1c3d46e58e32b5aceeb243a
child 86258 9cf740464cd01a801e50b1e22f1156756765f2bf
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin
bugs684107
milestone12.0a1
Bug 684107 followup - stop importing XPCOMUtils.jsm and Dict.jsm into DownloadLastDir.jsm; r=gavin
toolkit/mozapps/downloads/DownloadLastDir.jsm
--- a/toolkit/mozapps/downloads/DownloadLastDir.jsm
+++ b/toolkit/mozapps/downloads/DownloadLastDir.jsm
@@ -58,19 +58,17 @@
 
 const LAST_DIR_PREF = "browser.download.lastDir";
 const SAVE_PER_SITE_PREF = LAST_DIR_PREF + ".savePerSite";
 const PBSVC_CID = "@mozilla.org/privatebrowsing;1";
 const nsILocalFile = Components.interfaces.nsILocalFile;
 
 var EXPORTED_SYMBOLS = [ "gDownloadLastDir" ];
 
-Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
 Components.utils.import("resource://gre/modules/Services.jsm");
-Components.utils.import("resource://gre/modules/Dict.jsm");
 
 let pbSvc = null;
 if (PBSVC_CID in Components.classes) {
   pbSvc = Components.classes[PBSVC_CID]
                     .getService(Components.interfaces.nsIPrivateBrowsingService);
 }
 
 let observer = {