Closed
Bug 1480222
Opened 7 years ago
Closed 7 years ago
Preemptively fix unified bustage in layout/style
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla63
| Tracking | Status | |
|---|---|---|
| firefox63 | --- | fixed |
People
(Reporter: dholbert, Assigned: dholbert)
Details
Attachments
(5 files)
|
17.76 KB,
text/plain
|
Details | |
|
46 bytes,
text/x-phabricator-request
|
TYLin
:
review+
|
Details | Review |
|
46 bytes,
text/x-phabricator-request
|
TYLin
:
review+
|
Details | Review |
|
46 bytes,
text/x-phabricator-request
|
TYLin
:
review+
|
Details | Review |
|
46 bytes,
text/x-phabricator-request
|
TYLin
:
review+
|
Details | Review |
Previously: bug 1437723, bug 1326574, bug 1321495
layout/style doesn't quite build successfully right now, when I disable unified
builds (by doing s/UNIFIED_SOURCES/SOURCES/ in its moz.build file)
Build errors attached (
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → dholbert
Priority: -- → P3
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
* ArenaRefPtrInlines.h calls nsPresArena::RegisterArenaRefPtr()
and hence needs nsPresArena.h.
* nsComputedDOMStyle.cpp calls nsCSSProps::PropHasFlags()
and hence needs nsCSSProps.h.
| Assignee | ||
Comment 4•7 years ago
|
||
| Assignee | ||
Comment 5•7 years ago
|
||
With these 4 patches, I can build successfully with unification disabled in layout/style.
Summary: Preemptively fix most unified bustage in layout/style → Preemptively fix unified bustage in layout/style
Comment 6•7 years ago
|
||
Comment on attachment 8996861 [details]
Bug 1480222 part 1: Add include for ServoBindings.h to some .cpp files in layout/style, to fix various non-unified build errors about undeclared identifier 'Servo_XYZ'. r?TYLin
Ting-Yu Lin [:TYLin] (UTC-7) has approved the revision.
https://phabricator.services.mozilla.com/D2629
Attachment #8996861 -
Flags: review+
Comment 7•7 years ago
|
||
Comment on attachment 8996863 [details]
Bug 1480222 part 2: Add include for RefCounted.h to some .cpp files in layout/style that use the mozilla::RefCounted type. r?TYLin
Ting-Yu Lin [:TYLin] (UTC-7) has approved the revision.
https://phabricator.services.mozilla.com/D2630
Attachment #8996863 -
Flags: review+
Comment 8•7 years ago
|
||
Comment on attachment 8996864 [details]
Bug 1480222 part 3: Add includes to fix unified bustage in ArenaRefPtrInlines.h and nsComputedDOMStyle.cpp. r?TYLin
Ting-Yu Lin [:TYLin] (UTC-7) has approved the revision.
https://phabricator.services.mozilla.com/D2631
Attachment #8996864 -
Flags: review+
Comment 9•7 years ago
|
||
Comment on attachment 8996870 [details]
Bug 1480222 part 4: Give css ErrorReporter.h an actual nsString.h include (not nsStringFwd), since it has actual nsString member-vars which need full definition. r?TYLin
Ting-Yu Lin [:TYLin] (UTC-7) has approved the revision.
https://phabricator.services.mozilla.com/D2632
Attachment #8996870 -
Flags: review+
| Assignee | ||
Comment 10•7 years ago
|
||
Thanks for the review!
Try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6fa373b4c16e7d199d7f09af454d62993f1b9406
Flags: needinfo?(dholbert)
Comment 11•7 years ago
|
||
Pushed by dholbert@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/02bce0f59fb0
part 1: Add include for ServoBindings.h to some .cpp files in layout/style, to fix various non-unified build errors about undeclared identifier 'Servo_XYZ'. r=TYLin
https://hg.mozilla.org/integration/mozilla-inbound/rev/3f141de2d941
part 2: Add include for RefCounted.h to some .cpp files in layout/style that use the mozilla::RefCounted type. r=TYLin
https://hg.mozilla.org/integration/mozilla-inbound/rev/833ded7c7005
part 3: Add includes to fix unified bustage in ArenaRefPtrInlines.h and nsComputedDOMStyle.cpp. r=TYLin
https://hg.mozilla.org/integration/mozilla-inbound/rev/085d8dd2394b
part 4: Give css ErrorReporter.h an actual nsString.h include (not nsStringFwd), since it has actual nsString member-vars which need full definition. r=TYLin
| Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(dholbert) → in-testsuite-
Comment 12•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/02bce0f59fb0
https://hg.mozilla.org/mozilla-central/rev/3f141de2d941
https://hg.mozilla.org/mozilla-central/rev/833ded7c7005
https://hg.mozilla.org/mozilla-central/rev/085d8dd2394b
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•