Bug 1341009 - Remove nsReflowStatus::Reset() in BlockReflowInput's constructor.
nsReflowStatus's constructor will be called before BlockReflowInput's
constructor. No need to invoke Reset().
MozReview-Commit-ID: EhYe8u1ksvD
--- a/layout/generic/BlockReflowInput.cpp
+++ b/layout/generic/BlockReflowInput.cpp
@@ -101,18 +101,16 @@ BlockReflowInput::BlockReflowInput(const
MOZ_ASSERT(FloatManager(),
"Float manager should be valid when creating BlockReflowInput!");
// Save the coordinate system origin for later.
FloatManager()->GetTranslation(mFloatManagerI, mFloatManagerB);
FloatManager()->PushState(&mFloatManagerStateBefore); // never popped
- mReflowStatus.Reset();
-
mNextInFlow = static_cast<nsBlockFrame*>(mBlock->GetNextInFlow());
LAYOUT_WARN_IF_FALSE(NS_UNCONSTRAINEDSIZE != aReflowInput.ComputedISize(),
"have unconstrained width; this should only result "
"from very large sizes, not attempts at intrinsic "
"width calculation");
mContentArea.ISize(wm) = aReflowInput.ComputedISize();