Index: chrome/browser/browser_shutdown.cc |
diff --git a/chrome/browser/browser_shutdown.cc b/chrome/browser/browser_shutdown.cc |
index bade7e3c5fd6e6fb49caa8ac49f42f08560cdba2..7228be2d60d80e2cedfa30bf908ed2e35f8260fb 100644 |
--- a/chrome/browser/browser_shutdown.cc |
+++ b/chrome/browser/browser_shutdown.cc |
@@ -38,6 +38,7 @@ |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/render_process_host.h" |
#include "content/public/browser/tracing_controller.h" |
+#include "printing/features/features.h" |
#if defined(OS_WIN) |
#include "chrome/browser/first_run/upgrade_util_win.h" |
@@ -60,7 +61,7 @@ |
#include "chrome/browser/chromeos/boot_times_recorder.h" |
#endif |
-#if defined(ENABLE_PRINT_PREVIEW) |
+#if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
#include "chrome/browser/service_process/service_process_control.h" |
#endif |
@@ -154,7 +155,7 @@ bool ShutdownPreThreadsStop() { |
chromeos::BootTimesRecorder::Get()->AddLogoutTimeMarker( |
"BrowserShutdownStarted", false); |
#endif |
-#if defined(ENABLE_PRINT_PREVIEW) |
+#if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
// Shutdown the IPC channel to the service processes. |
ServiceProcessControl::GetInstance()->Disconnect(); |
#endif // ENABLE_PRINT_PREVIEW |