mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00

This patch clamps the `resolvedMinSize` before the size is passed into `UpdateMainMinSize`, which is where the assertion is triggered. Also, tweak the MOZ_ASSERT a bit because it's best to test an nscoord is not NS_UNCONSTRAINEDSIZE before invoking comparison operator. Differential Revision: https://phabricator.services.mozilla.com/D129230