Commit ecedd291 authored by Raine Makelainen's avatar Raine Makelainen Committed by chriadam

Fix memory dumping to work with Gecko 38

parent c4697950
......@@ -374,7 +374,7 @@ EmbedHelper.prototype = {
case "Memory:Dump": {
if (aMessage.data && aMessage.data.fileName) {
let memDumper = Cc["@mozilla.org/memory-info-dumper;1"].getService(Ci.nsIMemoryInfoDumper);
memDumper.dumpMemoryReportsToNamedFile(aMessage.data.fileName, null, null);
memDumper.dumpMemoryReportsToNamedFile(aMessage.data.fileName, null, null, false);
}
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment