Closed
Bug 909971
Opened 11 years ago
Closed 10 years ago
Remove nsThreadUtils.h include from BindingUtils.h
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: mccr8, Assigned: mathias.demare)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
952 bytes,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
This is only used for NS_IsMainThread() in various binding .cpp files, but right now other things that include BindingUtils.h are going to get it, which is less than ideal. bz's comments from bug 904826: (In reply to Boris Zbarsky [:bz] from comment #23) > We're going to need this for any .cpp file with non-worker descriptors that > have any methods or attributes, and for any file with chromeonly stuff, and > any file with a dictionary. Followup for narrowing this down further is > fine, especially because it'll be easier once bug 909639 lands. (In reply to Boris Zbarsky [:bz] from comment #24) > Actually, the other simple option is to throw this into the always-included > headers in codegen and thus hide from non-codegen includers of BindingUtils. > The only issue with that is that it'll conflict with bug 909639.
Updated•11 years ago
|
Blocks: includehell
Reporter | ||
Comment 1•11 years ago
|
||
With bug 913847, this will be MainThreadUtils.h instead that can be removed
Comment 2•11 years ago
|
||
Yeah, and MainThreadUtils.h is very cheap to include, so once bug 913847 lands, maybe this won't be a big deal anymore. But it's always nice to make BindingUtils.h smaller.
Assignee | ||
Comment 3•10 years ago
|
||
I wanted to try to solve the issues resulting from removing the MainThreadUtils.h include, so I removed it. However, I was able to complete the build and start it without issue.
Attachment #8486465 -
Flags: review?(bjacob)
Updated•10 years ago
|
Attachment #8486465 -
Flags: review?(bjacob) → review+
Comment 4•10 years ago
|
||
Pushed to try to make sure that that builds on all platforms: https://tbpl.mozilla.org/?tree=Try&rev=3beae4433356
Comment 5•10 years ago
|
||
Green, landed: https://hg.mozilla.org/integration/mozilla-inbound/rev/52e65fd22097
Updated•10 years ago
|
Assignee: nobody → mathias.demare
Comment 6•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/52e65fd22097
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•