зеркало из https://github.com/mozilla/gecko-dev.git
56596856cf
This removal fixes the following non-fatal warning which (like some categories of warnings) only appears when you build in non-unified mode: layout/printing/nsPrintJob.cpp:61:19: warning: unused variable 'kPrintingPromptService' [-Wunused-const-variable] (Indeed, this variable was entirely unused.) This patch also removes a bunch of surrounding #includes that looked likely-unused to me as well. I did some spot-checks to be pretty-sure the removed headers are all unused at this point, and (most importantly) I made sure we still successfully build in non-unified mode. This means that, if we do actually depend on any of these removed includes, we're still getting them indirectly via some other header, so these removals shouldn't really cause trouble. Depends on D138097 Differential Revision: https://phabricator.services.mozilla.com/D138098 |
||
---|---|---|
.. | ||
crashtests | ||
ipc | ||
DrawEventRecorder.cpp | ||
DrawEventRecorder.h | ||
PrintTranslator.cpp | ||
PrintTranslator.h | ||
moz.build | ||
nsPagePrintTimer.cpp | ||
nsPagePrintTimer.h | ||
nsPrintData.cpp | ||
nsPrintData.h | ||
nsPrintJob.cpp | ||
nsPrintJob.h | ||
nsPrintObject.cpp | ||
nsPrintObject.h |