Closed
Bug 981116
Opened 11 years ago
Closed 11 years ago
nsFlexContainerFrame member-var mChildrenHaveBeenReordered should probably be converted to a frame state bit
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
Attachments
(1 file)
5.99 KB,
patch
|
heycam
:
review+
|
Details | Diff | Splinter Review |
nsFlexContainerFrame has a member-var mChildrenHaveBeenReordered, added in bug 811521.
That variable should be converted to a frame state bit (one of the bits reserved for concrete frame classes), so that nsFlexContainerFrame instances can be a bit smaller.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → dholbert
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8387872 -
Flags: review?(cam)
Comment 2•11 years ago
|
||
Comment on attachment 8387872 [details] [diff] [review]
fix
Review of attachment 8387872 [details] [diff] [review]:
-----------------------------------------------------------------
::: layout/generic/nsFlexContainerFrame.h
@@ -25,1 @@
> NS_DECL_QUERYFRAME
I think you may as well move NS_DECL_FRAMEARENA_HELPERS and NS_DECL_QUERYFRAME to the "public:" section too since they're public in nsFrame.
::: layout/generic/nsFrameStateBits.h
@@ +288,5 @@
> +
> +FRAME_STATE_GROUP(FlexContainer, nsFlexContainerFrame)
> +
> +// Set for a flex container whose children have been reordered due to 'order'.
> +// (Means that we have to be more thorough about checking them for sortedness).
"." inside the parens.
Attachment #8387872 -
Flags: review?(cam) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Addressed review comments and pushed: https://hg.mozilla.org/integration/mozilla-inbound/rev/0a71fbcee972
Thanks for the review!
Flags: in-testsuite-
Comment 4•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•