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