Closed Bug 1533870 Opened 1 year ago Closed 1 year ago

Preemptively fix all non-unified-build bustage in layout/style

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: dholbert, Assigned: dholbert)

Details

Attachments

(1 file)

(previously bug 1490432)

I had a flight today, and I took the offline time as an opportunity to preemptively fix some build bustage in layout/style which is only exposed if you disable unified builds.

Filing this bug to cover that.

I wrote this patch by first removing UNIFIED_ from layout/style/moz.build, and
then rebuilding, and then addressing build errors one by one.

Nearly all of the build errors were for using the "Document" type without a
proper namespace, and I've addressed this by sprinkling "using namespace"
declarations in the affected .cpp files (and removing a few now-unnecessary
dom:: prefixes on types in those files).

The only other errors were for WorkletGlobalScope.h which needed an #include to
provide the type "DOMHighResTimeStamp", and nsHTMLStyleSheet.h which needed a
forward-declaration for the type "mozilla::dom::Document".

Pushed by dholbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b823fe555467
Preemptively fix unified build bustage in layout/style. r=boris
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.