mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 1277703: Mark nsHTMLReflowState::ComputeContainingBlockRectangle as 'const'. r=mats
MozReview-Commit-ID: HuSDz3rgtQY --HG-- extra : rebase_source : b5f8f14d71d62b0b56e4b4d5c6b6fc256f188ded
This commit is contained in:
parent
26c1db1158
commit
a67160ebff
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user