Bug 890782 - Part 2: Make NS_STATE_SVG_NONDISPLAY_CHILD a global state bit and rename it. r=jwatt
This commit is contained in:
@@ -8194,7 +8194,7 @@ nsCSSFrameConstructor::ProcessRestyledFrames(nsStyleChangeList& aChangeList)
|
||||
NS_ASSERTION(frame, "This shouldn't happen");
|
||||
|
||||
if ((frame->GetStateBits() & NS_FRAME_SVG_LAYOUT) &&
|
||||
(frame->GetStateBits() & NS_STATE_SVG_NONDISPLAY_CHILD)) {
|
||||
(frame->GetStateBits() & NS_FRAME_IS_NONDISPLAY)) {
|
||||
// frame does not maintain overflow rects, so avoid calling
|
||||
// FinishAndStoreOverflow on it:
|
||||
hint = NS_SubtractHint(hint,
|
||||
|
||||
Reference in New Issue
Block a user