mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Turn assertion into warning since we can hit it in large coordinate cases. (Bug 494237) r+sr=roc
This commit is contained in:
parent
dfd2b373c7
commit
aed90fc289
@ -170,7 +170,10 @@ nsFloatManager::GetFlowArea(nscoord aYOffset, BandInfoType aInfoType,
|
||||
|
||||
nscoord bottom;
|
||||
if (aHeight == nscoord_MAX) {
|
||||
NS_ASSERTION(aInfoType == BAND_FROM_POINT, "bad height");
|
||||
// This warning (and the two below) are possible to hit on pages
|
||||
// with really large objects.
|
||||
NS_WARN_IF_FALSE(aInfoType == BAND_FROM_POINT,
|
||||
"bad height");
|
||||
bottom = nscoord_MAX;
|
||||
} else {
|
||||
bottom = top + aHeight;
|
||||
|
Loading…
x
Reference in New Issue
Block a user