mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
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:
parent
81ddec3340
commit
93a1eaeaa2
@ -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() << ","
|
||||
|
Loading…
Reference in New Issue
Block a user