From 694e4d254d72cb9016a7d71a350ebf1a04566e2b Mon Sep 17 00:00:00 2001 From: "L. David Baron" Date: Thu, 16 Dec 2010 08:53:17 -0800 Subject: [PATCH] Remove code that's no longer needed. (Bug 576649, followup) r=roc a=blocking --- layout/base/nsCSSFrameConstructor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp index 87f4a48d156a..608abadc98c5 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -7666,8 +7666,7 @@ UpdateViewsForTree(nsIFrame* aFrame, nsIViewManager* aViewManager, do { nsIFrame* child = aFrame->GetFirstChild(childList); while (child) { - if (!(child->GetStateBits() & NS_FRAME_OUT_OF_FLOW) - || (child->GetStateBits() & NS_FRAME_IS_OVERFLOW_CONTAINER)) { + if (!(child->GetStateBits() & NS_FRAME_OUT_OF_FLOW)) { // only do frames that don't have placeholders if (nsGkAtoms::placeholderFrame == child->GetType()) { // do the out-of-flow frame and its continuations