Bug 520374 - WebContentConverter.js needlessly includes debug.js. r=mano
--- a/browser/components/feeds/src/FeedConverter.js
+++ b/browser/components/feeds/src/FeedConverter.js
@@ -32,16 +32,18 @@
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK ***** */
+Components.utils.import("resource://gre/modules/debug.js");
+
const Cc = Components.classes;
const Ci = Components.interfaces;
const Cr = Components.results;
function LOG(str) {
dump("*** " + str + "\n");
}
@@ -679,10 +681,9 @@ var Module = {
return true;
}
};
function NSGetModule(cm, file) {
return Module;
}
-#include ../../../../toolkit/content/debug.js
#include GenericFactory.js
--- a/browser/components/feeds/src/WebContentConverter.js
+++ b/browser/components/feeds/src/WebContentConverter.js
@@ -935,10 +935,8 @@ WebContentConverterRegistrar.prototype =
service: true
}]
};
function NSGetModule(cm, file) {
return XPCOMUtils.generateModule([WebContentConverterRegistrar]);
}
-#include ../../../../toolkit/content/debug.js
-