Open Bug 934127 Opened 11 years ago Updated 2 years ago

Touching gfx headers causes netwerk/ rebuild because of long sad #include chain

Categories

(Core :: General, defect)

defect

Tracking

()

People

(Reporter: froydnj, Unassigned)

References

(Blocks 1 open bug)

Details

+++ This bug was initially created as a clone of Bug #918651 +++

Here is a sad #include graph ( -> means #includes)

FTPChannelChild.cpp

 |
 |
 V

TabChild.h

 |
 |
 V

PBrowserChild.h

 |
 |
 V

PBrowser.h   -----------------> FrameMetrics.h

 |                                 |
 |                                 |
 V                                 V

gfxMatrix.h  --------------->  many other gfx things...



So there are various things that we can try to fix here, but apparently the first place to look (because it will affect a maximal number of .cpp files) is PBrowser.h which is a IPDL generated header.

We made it possible to forward-declare things in IPDL, but there are a fair number of gfx things (Units.h, etc.) that can't be forward-declared.  Those should be fixed up and the IPDL modified appropriately.
It looks like bug 904336 might take care of the TabChild.h badness.  There might be other include paths, though.
Depends on: 904336
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.