Closed Bug 739439 Opened 12 years ago Closed 12 years ago

Make nsFrameConstructorState::GetGeometricParent() a const method

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: dholbert, Assigned: dholbert)

Details

Attachments

(1 file)

Attached patch fixSplinter Review
nsFrameConstructorState::GetGeometricParent() isn't a const method right now, but it can be.

This patch makes it const.

(This lets me safely pass around a const nsFrameConstructorState& to helper-methods that only need to check "GetGeometricParent" but otherwise doesn't want to touch the state.)
Attachment #609512 - Flags: review?(bzbarsky)
Comment on attachment 609512 [details] [diff] [review]
fix

r=me
Attachment #609512 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/022b7fc56c7b
OS: Linux → All
Hardware: x86_64 → All
Target Milestone: --- → mozilla14
https://hg.mozilla.org/mozilla-central/rev/022b7fc56c7b
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: