Bug 1769832: Move a print-related #include to an ifdef-guarded section, to fix compile error with --disable-printing. r=jwatt

Differential Revision: https://phabricator.services.mozilla.com/D146627
This commit is contained in:
Daniel Holbert 2022-05-17 21:55:45 +00:00
Родитель ee5c6046af
Коммит caef665f7f
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -36,7 +36,6 @@
#include "mozilla/EventListenerManager.h" #include "mozilla/EventListenerManager.h"
#include "mozilla/HoldDropJSObjects.h" #include "mozilla/HoldDropJSObjects.h"
#include "mozilla/IMEStateManager.h" #include "mozilla/IMEStateManager.h"
#include "mozilla/layout/RemotePrintJobChild.h"
#include "mozilla/LookAndFeel.h" #include "mozilla/LookAndFeel.h"
#include "mozilla/MouseEvents.h" #include "mozilla/MouseEvents.h"
#include "mozilla/NativeKeyBindingsType.h" #include "mozilla/NativeKeyBindingsType.h"
@ -148,6 +147,7 @@
#endif #endif
#ifdef NS_PRINTING #ifdef NS_PRINTING
# include "mozilla/layout/RemotePrintJobChild.h"
# include "nsIPrintSettings.h" # include "nsIPrintSettings.h"
# include "nsIPrintSettingsService.h" # include "nsIPrintSettingsService.h"
# include "nsIWebBrowserPrint.h" # include "nsIWebBrowserPrint.h"