Skip to content

Commit

Permalink
Fix memory dumping to work with Gecko 38
Browse files Browse the repository at this point in the history
  • Loading branch information
rainemak committed Oct 23, 2015
1 parent 2dd22eb commit 66b6f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsscripts/embedhelper.js
Expand Up @@ -347,7 +347,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;
}
Expand Down

0 comments on commit 66b6f90

Please sign in to comment.