Closed Bug 795802 Opened 14 years ago Closed 14 years ago

define content mFlags bits like frame state bits

Categories

(Core :: DOM: Core & HTML, defect)

17 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: heycam, Assigned: heycam)

Details

Attachments

(1 file)

Attached patch patch — — Splinter Review
For the content flags in mFlags, if we use macros with the bit number rather than a hex literal with the bit set it would make things more readable (and more like how frame bits are defined). The patch does that, changes the #defined ones to enums, and ensures they are declared just above the class they pertain to.
Attachment #666433 - Flags: review?(bzbarsky)
Assignee: nobody → cam
Attachment #666433 - Flags: review?(bzbarsky) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You seem to have missed some #undefs
Yeah, I forgot to #undef DATA_NODE_FLAG_BIT.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: