Bug 988000 - Lazily load FreeSpaceWatcher.jsm. r=fabrice

This commit is contained in:
Matthew Noorenberghe 2014-03-25 19:54:48 -07:00
parent 5675a1c236
commit cd71affa66

View File

@ -8,7 +8,10 @@ const Cc = Components.classes;
const Ci = Components.interfaces;
const Cu = Components.utils;
Cu.import("resource://gre/modules/FreeSpaceWatcher.jsm");
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "FreeSpaceWatcher",
"resource://gre/modules/FreeSpaceWatcher.jsm");
this.EXPORTED_SYMBOLS = ["AppDownloadManager"];