Index: chrome/browser/devtools/device/devtools_android_bridge.cc |
diff --git a/chrome/browser/devtools/device/devtools_android_bridge.cc b/chrome/browser/devtools/device/devtools_android_bridge.cc |
index 2e2585b2b89a489279fb2f80f9a3bd2942605688..229ef1967011c10b582aaa54efcdc03246e020c8 100644 |
--- a/chrome/browser/devtools/device/devtools_android_bridge.cc |
+++ b/chrome/browser/devtools/device/devtools_android_bridge.cc |
@@ -37,6 +37,7 @@ |
#include "chrome/browser/devtools/remote_debugging_server.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/common/chrome_switches.h" |
+#include "chrome/common/features.h" |
#include "chrome/common/pref_names.h" |
#include "components/keyed_service/content/browser_context_dependency_manager.h" |
#include "components/prefs/pref_service.h" |
@@ -50,7 +51,7 @@ |
#include "net/base/host_port_pair.h" |
#include "net/base/net_errors.h" |
-#if defined(ENABLE_SERVICE_DISCOVERY) |
+#if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) |
#include "chrome/browser/devtools/device/cast_device_provider.h" |
#endif |
@@ -948,7 +949,7 @@ void DevToolsAndroidBridge::CreateDeviceProviders() { |
if (provider) |
device_providers.push_back(provider); |
-#if defined(ENABLE_SERVICE_DISCOVERY) |
+#if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) |
device_providers.push_back(new CastDeviceProvider()); |
#endif |