mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-30 10:12:59 +00:00
Convert one other assertion to a warning. b=310985
This commit is contained in:
parent
615888e1ee
commit
6e8e93c0aa
@ -827,8 +827,10 @@ struct nsAutoLayoutPhase {
|
||||
case eLayoutPhase_FrameC:
|
||||
NS_ASSERTION(mPresContext->mLayoutPhaseCount[eLayoutPhase_Paint] == 0,
|
||||
"constructing frames in the middle of a paint");
|
||||
NS_ASSERTION(mPresContext->mLayoutPhaseCount[eLayoutPhase_Reflow] == 0,
|
||||
"constructing frames in the middle of reflow");
|
||||
// The popup code causes us to hit this too often to be an
|
||||
// NS_ASSERTION, despite how scary it is.
|
||||
NS_WARN_IF_FALSE(mPresContext->mLayoutPhaseCount[eLayoutPhase_Reflow] == 0,
|
||||
"constructing frames in the middle of reflow");
|
||||
// The nsXBLService::LoadBindings call in ConstructFrameInternal
|
||||
// makes us hit this one too often to be an NS_ASSERTION,
|
||||
// despite how scary it is.
|
||||
|
Loading…
x
Reference in New Issue
Block a user