Closed
Bug 923151
Opened 11 years ago
Closed 11 years ago
Don't #include nsIDocument.h in TabChild.h and Element.h
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
3.37 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
29.97 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
https://tbpl.mozilla.org/?tree=Try&rev=cce9d1b3f697
Attachment #813135 -
Flags: review?(jst)
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #813136 -
Flags: review?(jst)
Comment 2•11 years ago
|
||
Comment on attachment 813136 [details] [diff] [review] Part 2: Don't #include nsIDocument.h in mozilla/dom/Element.h Review of attachment 813136 [details] [diff] [review]: ----------------------------------------------------------------- I'd rather check if we can move them out of line altogether... The JS guys just figured out what a footgun their -inl.h files are, and started removing them. ::: content/base/public/ElementInlines.h @@ +60,5 @@ > + > +} > +} > + > +#endif // ElementInlines_h Comment is wrong
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to comment #2) > I'd rather check if we can move them out of line altogether... The JS guys just > figured out what a footgun their -inl.h files are, and started removing them. Can you be more specific please? (Also note that this won't be the first "-inl.h" file we have in Gecko, so addressing those issues may be beyond the purpose of this bug.) Also, in my experience, the compiler basically ignores whether a function is declared as inline or not, and makes its own inlining decisions. In presence of PGO, it pretty much does what it wants to the code. :-)
Updated•11 years ago
|
Attachment #813135 -
Flags: review?(jst) → review+
Updated•11 years ago
|
Attachment #813136 -
Flags: review?(jst) → review+
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ec20bcd7c902 https://hg.mozilla.org/integration/mozilla-inbound/rev/bfaaa5b35899
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ec20bcd7c902 https://hg.mozilla.org/mozilla-central/rev/bfaaa5b35899
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
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
•