Index: chrome/browser/media/router/media_router_dialog_controller.cc |
diff --git a/chrome/browser/media/router/media_router_dialog_controller.cc b/chrome/browser/media/router/media_router_dialog_controller.cc |
index ae254c25554567a375e2883955e96d906629199e..31cdd96b9447d4e386ae2a5d18be169e32824fa0 100644 |
--- a/chrome/browser/media/router/media_router_dialog_controller.cc |
+++ b/chrome/browser/media/router/media_router_dialog_controller.cc |
@@ -7,12 +7,11 @@ |
#include <utility> |
#include "chrome/browser/media/router/media_router_metrics.h" |
-#include "chrome/common/features.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_contents_delegate.h" |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
+#if defined(OS_ANDROID) |
#include "chrome/browser/media/android/router/media_router_dialog_controller_android.h" |
#else |
#include "chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl.h" |
@@ -24,7 +23,7 @@ namespace media_router { |
MediaRouterDialogController* |
MediaRouterDialogController::GetOrCreateForWebContents( |
content::WebContents* contents) { |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
+#if defined(OS_ANDROID) |
return MediaRouterDialogControllerAndroid::GetOrCreateForWebContents( |
contents); |
#else |