mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
Move assertion up. r=jwatt. no bug. DONTBUILD.
--HG-- extra : rebase_source : cbe99f683de3407ceb40b35c96d3d80d3d4a76a8
This commit is contained in:
parent
3856910e76
commit
85f28c270e
@ -8190,6 +8190,8 @@ nsCSSFrameConstructor::ProcessRestyledFrames(nsStyleChangeList& aChangeList)
|
||||
// problems could arise.
|
||||
RecreateFramesForContent(content, false);
|
||||
} else {
|
||||
NS_ASSERTION(frame, "This shouldn't happen");
|
||||
|
||||
if ((frame->GetStateBits() & NS_FRAME_SVG_LAYOUT) &&
|
||||
(frame->GetStateBits() & NS_STATE_SVG_NONDISPLAY_CHILD)) {
|
||||
// frame does not maintain overflow rects, so avoid calling
|
||||
@ -8199,7 +8201,6 @@ nsCSSFrameConstructor::ProcessRestyledFrames(nsStyleChangeList& aChangeList)
|
||||
nsChangeHint_ChildrenOnlyTransform));
|
||||
}
|
||||
|
||||
NS_ASSERTION(frame, "This shouldn't happen");
|
||||
if (hint & nsChangeHint_UpdateEffects) {
|
||||
nsSVGEffects::UpdateEffects(frame);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user