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

This commit is contained in:
Matthew Noorenberghe 2014-03-25 19:54:48 -07:00
Родитель 579d31b274
Коммит 5cf6b4e6a5
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -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"];