mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 806473 - Update browser.js to use nsIMemoryInfoDumper instead of nsIMemoryReporterManager. r=jlebar
This commit is contained in:
parent
4f1989dd8e
commit
be5ffce036
@ -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);
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user