Closed
Bug 1312295
Opened 8 years ago
Closed 8 years ago
Change ReflowInputFlags to use uint32_t
Categories
(Core :: Layout, defect, P1)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)
References
Details
Attachments
(1 file)
7.22 KB,
patch
|
dholbert
:
review+
|
Details | Diff | Splinter Review |
Bug 1300369 and bug 1269046 will add flags to this struct so we need more than 16 bits. We might as well change the type to uint32_t now.
Assignee | ||
Comment 1•8 years ago
|
||
(re-ordering mFlags / mReflowDepth to avoid alignment spill)
Attachment #8803726 -
Flags: review?(dholbert)
Comment 2•8 years ago
|
||
Comment on attachment 8803726 [details] [diff] [review] Change ReflowInputFlags to use uint32_t since we'll need more than 16 bits here Review of attachment 8803726 [details] [diff] [review]: ----------------------------------------------------------------- Thanks! r+
Attachment #8803726 -
Flags: review?(dholbert) → review+
Pushed by mpalmgren@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/a99a23306822 Change ReflowInputFlags to use uint32_t since we'll need more than 16 bits here. r=dholbert
Assignee | ||
Updated•8 years ago
|
Flags: in-testsuite-
Comment 4•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a99a23306822
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
Comment 5•8 years ago
|
||
Why couldn't these flags just use bool? I see no value to have them using a fixed length integer type.
Comment 6•8 years ago
|
||
(That makes sense to me. I think they might be uint-bitfield-typed for historical reasons which predate our ability to use 'bool', perhaps?)
Comment 7•8 years ago
|
||
I remember some of us had discussion of using bool vs integer type in bug 1294628.
See Also: → 1294628
Assignee | ||
Comment 8•8 years ago
|
||
Making them bool:1 sounds fine to me.
You need to log in
before you can comment on or make changes to this bug.
Description
•