Regression was found in bug 1287066. It's not clear why Layer::SetVisibleRegion breaks when the region is empty. We should find out why.
A quick look reveals that we've worked around bugs with how pixman handles empty region before. Might be a good time to fix the semantics.