Make nsFrameConstructorState::GetGeometricParent() a const method

RESOLVED FIXED in mozilla14

Status

()

Core
Layout
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: dholbert, Assigned: dholbert)

Tracking

Trunk
mozilla14
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Created attachment 609512 [details] [diff] [review]
fix

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+
(Assignee)

Comment 2

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/022b7fc56c7b
OS: Linux → All
Hardware: x86_64 → All
Target Milestone: --- → mozilla14

Comment 3

5 years ago
https://hg.mozilla.org/mozilla-central/rev/022b7fc56c7b
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.