Closed Bug 865901 Opened 7 years ago Closed 7 years ago

make nsSVGTextFrame2::mPositioningDirty and mPositioningUsesPercentages SVG frame state bits

Categories

(Core :: SVG, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: heycam, Assigned: longsonr)

Details

Attachments

(1 file)

We could save a bit of space by moving mPositioningDirty into the frame state bitfield.
Summary: make nsSVGTextFrame2::mPositioningDirty an SVG frame state bit → make nsSVGTextFrame2::mPositioningDirty and mPositioningUsesPercentages SVG frame state bits
Attached patch patchSplinter Review
Assignee: nobody → longsonr
Attachment #766395 - Flags: review?(cam)
Comment on attachment 766395 [details] [diff] [review]
patch

r=me if you

* name it NS_STATE_SVG_POSITIONING_MAY_USE_PERCENTAGES
* preserve the documentation I added for mPositioningDirty and mPositioningMayUsePercentages somewhere (either above the #defines, or maybe somewhere in nsSVGTextFrame2.h still)
Attachment #766395 - Flags: review?(cam) → review+
https://hg.mozilla.org/mozilla-central/rev/d53ba2cc5337
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.