diff options
author | Mats Palmgren <mats@mozilla.com> | 2019-11-29 10:48:50 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-11-29 10:48:50 +0100 |
commit | 6ea8e51aaa192d920ffd6b8a7d4cc4e998d7222a (patch) | |
tree | c1eb96e91f59a8bbf8afe08c085829411b1f254c /layout/generic/BlockReflowInput.cpp | |
parent | 013ef52eddc20d97d821195de85b4de27877dc58 (diff) | |
download | UXP-6ea8e51aaa192d920ffd6b8a7d4cc4e998d7222a.tar UXP-6ea8e51aaa192d920ffd6b8a7d4cc4e998d7222a.tar.gz UXP-6ea8e51aaa192d920ffd6b8a7d4cc4e998d7222a.tar.lz UXP-6ea8e51aaa192d920ffd6b8a7d4cc4e998d7222a.tar.xz UXP-6ea8e51aaa192d920ffd6b8a7d4cc4e998d7222a.zip |
Remove unnecessary calls to ReparentFloatsForInlineChild in
nsInlineFrame.
Diffstat (limited to 'layout/generic/BlockReflowInput.cpp')
-rw-r--r-- | layout/generic/BlockReflowInput.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layout/generic/BlockReflowInput.cpp b/layout/generic/BlockReflowInput.cpp index 10084fd8b..86248ac14 100644 --- a/layout/generic/BlockReflowInput.cpp +++ b/layout/generic/BlockReflowInput.cpp @@ -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 |