Remove some dependencies on style system headers from other common headers.
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(8 files, 1 obsolete file)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
The ultimate goal here was to not rebuild dom/media when touching the style system.
There's still more work for that to be possible, but here's a start.
Assignee | ||
Comment 1•6 years ago
|
||
This avoids including nsFont.h and a bunch of other stuff in nsPresContext.h
Assignee | ||
Comment 2•6 years ago
|
||
Mostly what I was seeing come up in the .deps files from my object directory
which sounded feasible.
Depends on D62166
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D62167
Assignee | ||
Comment 4•6 years ago
|
||
And fix a bunch of fallout as we now don't include nsDocShell.h everywhere.
Depends on D62168
Assignee | ||
Comment 5•6 years ago
|
||
nsPresContext.h is only used for unit conversion, which can be done by Units.h
in a similar fashion.
PresShell.h was needed for some capturing-content stuff which can be moved out
of line.
Depends on D62169
Assignee | ||
Comment 6•6 years ago
|
||
It can be forward-declared. ContentCache.h includes WritingModes.h which
includes a whole lot of stuff.
Assignee | ||
Comment 7•6 years ago
|
||
Depends on D62171
Assignee | ||
Comment 8•6 years ago
|
||
This is another one which is included everywhere. If the OOL call mattered we
could move these to a different header or something, but I suspect it won't.
Depends on D62172
Assignee | ||
Comment 9•6 years ago
|
||
We include it everywhere because it's included from gfxTypes.h.
This should avoid including all the generated bindings everywhere.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5edfca9532a0
https://hg.mozilla.org/mozilla-central/rev/e6157dd5307d
https://hg.mozilla.org/mozilla-central/rev/87393dbd95ed
https://hg.mozilla.org/mozilla-central/rev/e9054e5ec42d
https://hg.mozilla.org/mozilla-central/rev/fc8778ea318f
https://hg.mozilla.org/mozilla-central/rev/a281e11c7dac
https://hg.mozilla.org/mozilla-central/rev/1346808aa42d
https://hg.mozilla.org/mozilla-central/rev/1800ca8ff653
Description
•