Bug 1537660. Fix nsRegion::ToString(). r=bas

It never outputs the separator between rects.

Differential Revision: https://phabricator.services.mozilla.com/D24306

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Timothy Nikkel 2019-03-21 15:05:57 +00:00
parent 81ddec3340
commit 93a1eaeaa2

View File

@ -994,7 +994,7 @@ std::ostream& operator<<(std::ostream& stream, const nsRegion& m) {
if (!first) {
stream << "; ";
} else {
first = true;
first = false;
}
const nsRect& rect = iter.Get();
stream << rect.X() << "," << rect.Y() << "," << rect.XMost() << ","