Replace AutoMaybeNullInflationContainer with AutoMaybeDisableInflationForShrinkWrap since the concept of the pres context's current inflation container will be going away. (Bug 747720, patch 2) r=roc
This commit is contained in:
@@ -582,7 +582,7 @@ FloatMarginWidth(const nsHTMLReflowState& aCBReflowState,
|
||||
nsIFrame *aFloat,
|
||||
const nsCSSOffsetState& aFloatOffsetState)
|
||||
{
|
||||
AutoMaybeNullInflationContainer an(aFloat);
|
||||
AutoMaybeDisableFontInflation an(aFloat);
|
||||
return aFloat->ComputeSize(
|
||||
aCBReflowState.rendContext,
|
||||
nsSize(aCBReflowState.ComputedWidth(),
|
||||
|
||||
Reference in New Issue
Block a user