Bug 1277703: Mark nsHTMLReflowState::ComputeContainingBlockRectangle as 'const'. r=mats

MozReview-Commit-ID: HuSDz3rgtQY

--HG--
extra : rebase_source : b5f8f14d71d62b0b56e4b4d5c6b6fc256f188ded
This commit is contained in:
Daniel Holbert 2016-06-02 15:24:00 -07:00
parent 26c1db1158
commit a67160ebff
2 changed files with 3 additions and 3 deletions

View File

@ -2002,7 +2002,7 @@ CalcQuirkContainingBlockHeight(const nsHTMLReflowState* aCBReflowState)
LogicalSize
nsHTMLReflowState::ComputeContainingBlockRectangle(
nsPresContext* aPresContext,
const nsHTMLReflowState* aContainingBlockRS)
const nsHTMLReflowState* aContainingBlockRS) const
{
// Unless the element is absolutely positioned, the containing block is
// formed by the content edge of the nearest block-level ancestor

View File

@ -736,8 +736,8 @@ public:
mozilla::LogicalSize ComputeContainingBlockRectangle(
nsPresContext* aPresContext,
const nsHTMLReflowState* aContainingBlockRS);
nsPresContext* aPresContext,
const nsHTMLReflowState* aContainingBlockRS) const;
/**
* Apply the mComputed(Min/Max)Width constraints to the content