Remove unnecessary calls to ReparentFloatsForInlineChild in

nsInlineFrame.
This commit is contained in:
Mats Palmgren 2019-11-29 10:48:50 +01:00 committed by Roy Tam
commit 2f3a6a58b4
3 changed files with 10 additions and 45 deletions

View file

@ -716,6 +716,8 @@ FloatMarginISize(const ReflowInput& aCBReflowInput,
bool
BlockReflowInput::FlowAndPlaceFloat(nsIFrame* aFloat)
{
MOZ_ASSERT(aFloat->GetParent() == mBlock);
WritingMode wm = mReflowInput.GetWritingMode();
// Save away the Y coordinate before placing the float. We will
// restore mBCoord at the end after placing the float. This is