Bug 806473 - Update browser.js to use nsIMemoryInfoDumper instead of nsIMemoryReporterManager. r=jlebar

This commit is contained in:
Kartikaya Gupta 2012-10-29 20:41:14 -04:00
parent 4f1989dd8e
commit be5ffce036

View File

@ -7481,8 +7481,8 @@ var MemoryObserver = {
},
dumpMemoryStats: function(aLabel) {
let memMgr = Cc["@mozilla.org/memory-reporter-manager;1"].getService(Ci.nsIMemoryReporterManager);
memMgr.dumpMemoryReportsToFile(aLabel, false, true);
let memDumper = Cc["@mozilla.org/memory-info-dumper;1"].getService(Ci.nsIMemoryInfoDumper);
memDumper.dumpMemoryReportsToFile(aLabel, false, true);
},
};