Bug 1132844 - Fix ReaderMode.jsm to work with jsloader.reuseGlobal r=margaret
authorFabrice Desré <fabrice@mozilla.com>
Fri, 13 Feb 2015 15:13:40 -0800
changeset 229029 fa6ae9d07394fd52184603dfe174f8b33cd166e2
parent 229028 0e2e7780755bc00fc5b83d832175f46d0f697a58
child 229030 50d56554e6fdc8ae90603382c882a12fa63108c5
push id13898
push userfdesre@mozilla.com
push dateFri, 13 Feb 2015 23:13:53 +0000
treeherderb2g-inbound@fa6ae9d07394 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs1132844
milestone38.0a1
Bug 1132844 - Fix ReaderMode.jsm to work with jsloader.reuseGlobal r=margaret
toolkit/components/reader/ReaderMode.jsm
--- a/toolkit/components/reader/ReaderMode.jsm
+++ b/toolkit/components/reader/ReaderMode.jsm
@@ -12,17 +12,17 @@ Cu.import("resource://gre/modules/Servic
 Cu.import("resource://gre/modules/XPCOMUtils.jsm");
 
 Cu.importGlobalProperties(["XMLHttpRequest"]);
 
 XPCOMUtils.defineLazyModuleGetter(this, "CommonUtils", "resource://services-common/utils.js");
 XPCOMUtils.defineLazyModuleGetter(this, "OS", "resource://gre/modules/osfile.jsm");
 XPCOMUtils.defineLazyModuleGetter(this, "Task", "resource://gre/modules/Task.jsm");
 
-let ReaderMode = {
+this.ReaderMode = {
   // Version of the cache schema.
   CACHE_VERSION: 1,
 
   DEBUG: 0,
 
   // Don't try to parse the page if it has too many elements (for memory and
   // performance reasons)
   MAX_ELEMS_TO_PARSE: 3000,