mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add missing GetFirstInFlow() call that was causing a crash in ComputeDescendantWidth when printing with font inflation enabled (or a debug build). (Bug 751797) r=roc
--HG-- extra : transplant_source : %B5%FE%E5%DFaH%06%0F%3B%26%C0%E2%8B%3E4%F37%BFi-
This commit is contained in:
parent
5d8ce3ee63
commit
3a1e49269e
@ -219,7 +219,7 @@ nsFontInflationData::UpdateWidth(const nsHTMLReflowState &aReflowState)
|
||||
lastInflatableDescendant,
|
||||
bfc);
|
||||
while (!nsLayoutUtils::IsContainerForFontSizeInflation(nca)) {
|
||||
nca = nca->GetParent();
|
||||
nca = nca->GetParent()->GetFirstInFlow();
|
||||
}
|
||||
|
||||
nscoord newNCAWidth = ComputeDescendantWidth(aReflowState, nca);
|
||||
|
Loading…
Reference in New Issue
Block a user