Closed Bug 1399825 Opened 3 years ago Closed 3 years ago

nsThreadManager uses XRE_IsContentProcess without including nsXULAppAPI.h

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: philn, Assigned: philn)

References

Details

Attachments

(1 file, 1 obsolete file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36

Steps to reproduce:

nsThreadManager.cpp is calling XRE_IsContentProcess() without including nsXULAppAPI.h, which results in a non-unified build failure.
Blocks: servo-media
Attached patch proposed.patch (obsolete) — Splinter Review
Comment on attachment 8908074 [details] [diff] [review]
proposed.patch

I see no reason to ifdef this include; nothing in the file seems to be behind a windows check.
Attached patch proposed.patchSplinter Review
Attachment #8908074 - Attachment is obsolete: true
Attachment #8908105 - Flags: review?(erahm)
Comment on attachment 8908105 [details] [diff] [review]
proposed.patch

Review of attachment 8908105 [details] [diff] [review]:
-----------------------------------------------------------------

I claim my review powers cover this.
Attachment #8908105 - Flags: review+
Assignee: nobody → philn
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/38e7e0bba036
Include nsXULAppAPI.h in nsThreadManager.cpp. r=Ms2ger
Keywords: checkin-needed
Attachment #8908105 - Flags: review?(erahm)
https://hg.mozilla.org/mozilla-central/rev/38e7e0bba036
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.