diff --git a/layout/generic/nsFrame.cpp b/layout/generic/nsFrame.cpp index 03bb9c420280..9d35e20c0cb1 100644 --- a/layout/generic/nsFrame.cpp +++ b/layout/generic/nsFrame.cpp @@ -9976,15 +9976,11 @@ nsFrame::BoxReflow(nsBoxLayoutState& aState, parentSize.width += margin.LeftRight(); nsIFrame *parentFrame = GetParent(); - nsFrameState savedState = parentFrame->GetStateBits(); WritingMode parentWM = parentFrame->GetWritingMode(); ReflowInput parentReflowInput(aPresContext, parentFrame, aRenderingContext, LogicalSize(parentWM, parentSize), ReflowInput::DUMMY_PARENT_REFLOW_STATE); - const nsFrameState bitsToLeaveUntouched = NS_FRAME_HAS_PROPERTIES; - parentFrame->RemoveStateBits(~bitsToLeaveUntouched); - parentFrame->AddStateBits(savedState & ~bitsToLeaveUntouched); // This may not do very much useful, but it's probably worth trying. if (parentSize.width != NS_INTRINSICSIZE)