зеркало из https://github.com/mozilla/gecko-dev.git
7618f58711
The layout module is a little weird. It's described as being loadable in the GPU process, but very few of the contracts and CIDs it contains are also marked as such. In fact, the sole reason the layout module is marked as being loadable in the GPU process is so that the power manager service can be registered; everything else is inconsequential. This setup also means that the initializer for the layout module has to specifically check whether it's running in the GPU process (or several other processes...), so we don't try to spin up a bunch of stuff we don't need, like xpconnect and similar. This setup is silly: we should have a module solely for the power manager's use and that module can be loaded in the GPU process. Then the layout module can go back to being an ordinary module, and we don't have to play games in its initialization method. |
||
---|---|---|
.. | ||
moz.build | ||
nsContentDLF.cpp | ||
nsContentDLF.h | ||
nsLayoutCID.h | ||
nsLayoutModule.cpp | ||
nsLayoutModule.h | ||
nsLayoutStatics.cpp | ||
nsLayoutStatics.h |