Closed Bug 789592 Opened 12 years ago Closed 12 years ago

rename nsChangeHint_ReflowFrame and use it less

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: dbaron, Assigned: dbaron)

Details

Attachments

(2 files)

I always have trouble remembering which of the reflow-related nsChangeHint_* values is the one that's the bitmask containing all the others.  (Answer: nsChangeHint_ReflowFrame.)

I'd like to rename this to nsChangeHint_AllReflowHints so it's clearer which one it is.

I also think we can use it a bit less; there are a few places using it that are probably dating back to when it was a single bit, and should really be looking at one of the single bits.

Patches coming shortly.
Comment on attachment 659356 [details] [diff] [review]
Change some uses of nsChangeHint_ReflowFrame to check nsChangeHint_NeedReflow.  (, patch 1)

r=me
Attachment #659356 - Flags: review?(bzbarsky) → review+
Comment on attachment 659357 [details] [diff] [review]
Rename nsChangeHint_ReflowFrame to nsChangeHint_AllReflowHints to make it clearer that it's the one that contains multiple bits.  (, patch 2)

r=me
Attachment #659357 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/b4d8b251f64d
https://hg.mozilla.org/mozilla-central/rev/93f98bebfe39
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: