Bug 1406183 - End empty layer manager dumps with a line break. r=mattwoodrow

MozReview-Commit-ID: LCD0SYqZehK

--HG--
extra : rebase_source : 5c402f463bdb80aedb8031bdf418bfef97b40f57
This commit is contained in:
Markus Stange 2017-10-06 18:33:10 -04:00
parent 1200f014ad
commit 9694ad049b

View File

@ -2304,7 +2304,7 @@ LayerManager::Dump(std::stringstream& aStream, const char* aPrefix,
nsAutoCString pfx(aPrefix);
pfx += " ";
if (!GetRoot()) {
aStream << nsPrintfCString("%s(null)", pfx.get()).get();
aStream << nsPrintfCString("%s(null)\n", pfx.get()).get();
if (aDumpHtml) {
aStream << "</li></ul>";
}