Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 9e223dbc4dbf87799bf6f826adb3dbcc12d685fe..6f8e9632a429e53c5652e3e28a6b6bfe04893876 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -93,6 +93,7 @@ |
#include "device/battery/battery_status_service.h" |
#include "device/gamepad/gamepad_service.h" |
#include "device/sensors/device_sensor_service.h" |
+#include "gpu/vulkan/features.h" |
#include "media/audio/audio_system_impl.h" |
#include "media/base/media.h" |
#include "media/base/user_input_monitor.h" |
@@ -206,7 +207,7 @@ |
#include "crypto/nss_util.h" |
#endif |
-#if defined(ENABLE_VULKAN) |
+#if BUILDFLAG(ENABLE_VULKAN) |
#include "gpu/vulkan/vulkan_implementation.h" |
#endif |
@@ -1432,7 +1433,7 @@ int BrowserMainLoop::BrowserThreadsStarted() { |
base::PlatformThread::SetCurrentThreadPriority(base::ThreadPriority::DISPLAY); |
#endif |
-#if defined(ENABLE_VULKAN) |
+#if BUILDFLAG(ENABLE_VULKAN) |
if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableVulkan)) { |
gpu::InitializeVulkan(); |