Use nicer cbindgen bitflags.
Categories
(Core :: CSS Parsing and Computation, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(5 files)
Now that we use C++17, we can use inline const
.
Assignee | ||
Comment 1•6 years ago
|
||
This is closer to the equivalent Rust code.
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
Now that we have C++17, and thus inline const, we can do this.
Depends on D56306
Assignee | ||
Comment 3•6 years ago
|
||
This includes more bitflag operators, which means we can remove some slightly
ugly code.
Assignee | ||
Comment 4•6 years ago
|
||
This also removes some unused members and such, and fixes some missing includes
that they uncover (whoops).
This is needed because some windows headers used in the sandbox redefine STRICT
(which is used by StyleContain
) and TRANSPARENT
, which is used by some WR
stuff.
Assignee | ||
Comment 5•6 years ago
|
||
I couldn't get some Windows sandbox code to build with the other patch in this
bug.
Updated•6 years ago
|
Comment 10•6 years ago
|
||
![]() |
||
Comment 11•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0c2b364c2133
https://hg.mozilla.org/mozilla-central/rev/5ef150adc153
https://hg.mozilla.org/mozilla-central/rev/b278f7aa894e
https://hg.mozilla.org/mozilla-central/rev/73ea4471a43d
https://hg.mozilla.org/mozilla-central/rev/92a31b8aefee
https://hg.mozilla.org/mozilla-central/rev/297a4463b26d
Description
•