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..c18c855e1961e906e31c6a143bc65358ba1a7f85 100644 |
--- a/chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc |
+++ b/chrome/browser/ui/blocked_content/popup_blocker_tab_helper.cc |
@@ -21,7 +21,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 +121,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); |