Index: chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc |
diff --git a/chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc b/chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc |
index 91feefc50fa069e4cf5b36016cc7298a9fbe6313..ab19dacc8ade5974e19db20d1cf346591455095a 100644 |
--- a/chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc |
+++ b/chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc |
@@ -11,7 +11,6 @@ |
#include "chrome/browser/ui/blocked_content/blocked_window_params.h" |
#include "chrome/browser/ui/browser_navigator.h" |
#include "chrome/browser/ui/browser_navigator_params.h" |
-#include "chrome/common/features.h" |
#include "chrome/common/render_messages.h" |
#include "components/content_settings/core/browser/host_content_settings_map.h" |
#include "content/public/browser/navigation_controller.h" |
@@ -21,7 +20,7 @@ |
#include "content/public/browser/web_contents.h" |
#include "third_party/WebKit/public/web/WebWindowFeatures.h" |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
+#if defined(OS_ANDROID) |
#include "chrome/browser/ui/android/tab_model/tab_model_list.h" |
#endif |
@@ -121,7 +120,7 @@ void PopupBlockerTabHelper::ShowBlockedPopup(int32_t id) { |
return; |
// We set user_gesture to true here, so the new popup gets correctly focused. |
popup->params.user_gesture = true; |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
+#if defined(OS_ANDROID) |
TabModelList::HandlePopupNavigation(&popup->params); |
#else |
chrome::Navigate(&popup->params); |