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)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: heycam, Assigned: heycam)
Details
Attachments
(1 file)
|
16.88 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | 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)
Updated•14 years ago
|
Assignee: nobody → cam
Comment 1•14 years ago
|
||
Comment on attachment 666433 [details] [diff] [review]
patch
r=me
Attachment #666433 -
Flags: review?(bzbarsky) → review+
| Assignee | ||
Comment 2•14 years ago
|
||
Status: NEW → ASSIGNED
Comment 3•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Comment 4•14 years ago
|
||
You seem to have missed some #undefs
| Assignee | ||
Comment 5•14 years ago
|
||
Yeah, I forgot to #undef DATA_NODE_FLAG_BIT.
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•