Index: chrome/browser/lifetime/browser_close_manager.cc |
diff --git a/chrome/browser/lifetime/browser_close_manager.cc b/chrome/browser/lifetime/browser_close_manager.cc |
index e8c64d298eecf55093fe440e3cd123ebf1dce70a..2a32c3c638fd84ecb4db5669acc6439924feea3b 100644 |
--- a/chrome/browser/lifetime/browser_close_manager.cc |
+++ b/chrome/browser/lifetime/browser_close_manager.cc |
@@ -23,6 +23,7 @@ |
#include "chrome/browser/ui/chrome_pages.h" |
#include "chrome/browser/ui/scoped_tabbed_browser_displayer.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
+#include "chrome/common/features.h" |
#include "content/public/browser/web_contents.h" |
namespace { |
@@ -142,7 +143,7 @@ void BrowserCloseManager::OnReportDownloadsCancellable(bool proceed) { |
} |
void BrowserCloseManager::CloseBrowsers() { |
-#if defined(ENABLE_SESSION_SERVICE) |
+#if BUILDFLAG(ENABLE_SESSION_SERVICE) |
// Before we close the browsers shutdown all session services. That way an |
// exit can restore all browsers open before exiting. |
ProfileManager::ShutdownSessionServices(); |