Page MenuHomePhabricator

Bug 1651931 - Remove unnecessary includes from ContentChild.h. r=nika
ClosedPublic

Authored by sg on Jul 10 2020, 8:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 31, 8:18 AM
Unknown Object (File)
Feb 22 2026, 2:16 PM
Unknown Object (File)
Oct 15 2025, 9:07 PM
Subscribers

Details

Summary

Before these changes, ContentChild.h was the #9 most expensive header to include:
217505 ms: /home/simon/work/fuzzy/obj-x86_64-pc-linux-gnu-optimized/dist/include/mozilla/dom/ContentChild.h (included 105 times, avg 2071 ms)

After these changes, it is no longer among the top 30 most expensive headers.

Some missing includes in other files are added along.

Diff Detail

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
This revision is now accepted and ready to land.Jul 13 2020, 2:48 PM