mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1774329 - Remove whitespaces in gc stats' JSONPrinter - r=florian
Differential Revision: https://phabricator.services.mozilla.com/D152605
This commit is contained in:
parent
a7901e7d31
commit
159d4fe860
@ -601,7 +601,7 @@ UniqueChars Statistics::renderJsonSlice(size_t sliceNum) const {
|
||||
if (!printer.init()) {
|
||||
return UniqueChars(nullptr);
|
||||
}
|
||||
JSONPrinter json(printer);
|
||||
JSONPrinter json(printer, false);
|
||||
|
||||
formatJsonSlice(sliceNum, json);
|
||||
return printer.release();
|
||||
@ -612,7 +612,7 @@ UniqueChars Statistics::renderNurseryJson() const {
|
||||
if (!printer.init()) {
|
||||
return UniqueChars(nullptr);
|
||||
}
|
||||
JSONPrinter json(printer);
|
||||
JSONPrinter json(printer, false);
|
||||
gc->nursery().renderProfileJSON(json);
|
||||
return printer.release();
|
||||
}
|
||||
@ -649,7 +649,7 @@ UniqueChars Statistics::renderJsonMessage() const {
|
||||
if (!printer.init()) {
|
||||
return UniqueChars(nullptr);
|
||||
}
|
||||
JSONPrinter json(printer);
|
||||
JSONPrinter json(printer, false);
|
||||
|
||||
json.beginObject();
|
||||
json.property("status", "completed");
|
||||
|
Loading…
Reference in New Issue
Block a user