diff --git a/layout/generic/nsFrame.cpp b/layout/generic/nsFrame.cpp index 8b3276a2ad21..ea828d1d3013 100644 --- a/layout/generic/nsFrame.cpp +++ b/layout/generic/nsFrame.cpp @@ -4864,7 +4864,8 @@ nsFrame::ComputeSizeWithIntrinsicDimensions(nsRenderingContext* aRenderingConte const LogicalSize& aCBSize, const LogicalSize& aMargin, const LogicalSize& aBorder, - const LogicalSize& aPadding) + const LogicalSize& aPadding, + ComputeSizeFlags aFlags) { const nsStylePosition* stylePos = StylePosition(); const nsStyleCoord* inlineStyleCoord = &stylePos->ISize(aWM); diff --git a/layout/generic/nsFrame.h b/layout/generic/nsFrame.h index 8e773de9451d..f996f57d7198 100644 --- a/layout/generic/nsFrame.h +++ b/layout/generic/nsFrame.h @@ -288,7 +288,8 @@ public: const mozilla::LogicalSize& aCBSize, const mozilla::LogicalSize& aMargin, const mozilla::LogicalSize& aBorder, - const mozilla::LogicalSize& aPadding); + const mozilla::LogicalSize& aPadding, + ComputeSizeFlags aFlags); // Compute tight bounds assuming this frame honours its border, background // and outline, its children's tight bounds, and nothing else. diff --git a/layout/generic/nsHTMLCanvasFrame.cpp b/layout/generic/nsHTMLCanvasFrame.cpp index ad41c01d1b26..bad3a710f8de 100644 --- a/layout/generic/nsHTMLCanvasFrame.cpp +++ b/layout/generic/nsHTMLCanvasFrame.cpp @@ -238,7 +238,8 @@ nsHTMLCanvasFrame::ComputeSize(nsRenderingContext *aRenderingContext, return ComputeSizeWithIntrinsicDimensions(aRenderingContext, aWM, intrinsicSize, intrinsicRatio, - aCBSize, aMargin, aBorder, aPadding); + aCBSize, aMargin, aBorder, aPadding, + aFlags); } void diff --git a/layout/generic/nsImageFrame.cpp b/layout/generic/nsImageFrame.cpp index 142bb9395745..c64520f2ea8b 100644 --- a/layout/generic/nsImageFrame.cpp +++ b/layout/generic/nsImageFrame.cpp @@ -872,7 +872,8 @@ nsImageFrame::ComputeSize(nsRenderingContext *aRenderingContext, return ComputeSizeWithIntrinsicDimensions(aRenderingContext, aWM, intrinsicSize, mIntrinsicRatio, - aCBSize, aMargin, aBorder, aPadding); + aCBSize, aMargin, aBorder, aPadding, + aFlags); } // XXXdholbert This function's clients should probably just be calling diff --git a/layout/generic/nsSubDocumentFrame.cpp b/layout/generic/nsSubDocumentFrame.cpp index faa937d6617f..ba5599da3b8a 100644 --- a/layout/generic/nsSubDocumentFrame.cpp +++ b/layout/generic/nsSubDocumentFrame.cpp @@ -721,7 +721,7 @@ nsSubDocumentFrame::ComputeSize(nsRenderingContext* aRenderingContext, subDocRoot->GetIntrinsicSize(), subDocRoot->GetIntrinsicRatio(), aCBSize, aMargin, aBorder, - aPadding); + aPadding, aFlags); } return nsAtomicContainerFrame::ComputeSize(aRenderingContext, aWM, aCBSize, aAvailableISize, diff --git a/layout/generic/nsVideoFrame.cpp b/layout/generic/nsVideoFrame.cpp index 6c6bd1fe681c..9f27684a7e99 100644 --- a/layout/generic/nsVideoFrame.cpp +++ b/layout/generic/nsVideoFrame.cpp @@ -537,7 +537,8 @@ nsVideoFrame::ComputeSize(nsRenderingContext *aRenderingContext, return ComputeSizeWithIntrinsicDimensions(aRenderingContext, aWM, intrinsicSize, intrinsicRatio, - aCBSize, aMargin, aBorder, aPadding); + aCBSize, aMargin, aBorder, aPadding, + aFlags); } nscoord nsVideoFrame::GetMinISize(nsRenderingContext *aRenderingContext) diff --git a/layout/svg/nsSVGOuterSVGFrame.cpp b/layout/svg/nsSVGOuterSVGFrame.cpp index e6f3b80877a8..683f10bc7bef 100644 --- a/layout/svg/nsSVGOuterSVGFrame.cpp +++ b/layout/svg/nsSVGOuterSVGFrame.cpp @@ -349,7 +349,8 @@ nsSVGOuterSVGFrame::ComputeSize(nsRenderingContext *aRenderingContext, return ComputeSizeWithIntrinsicDimensions(aRenderingContext, aWM, intrinsicSize, GetIntrinsicRatio(), - cbSize, aMargin, aBorder, aPadding); + cbSize, aMargin, aBorder, aPadding, + aFlags); } void