Index: chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc |
diff --git a/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc b/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc |
index b42ad6bb0af7d9aa78b4c79f7aae659a50df9358..543a6c3cd9275b55e37064c4a8139e3049c4ef59 100644 |
--- a/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc |
+++ b/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc |
@@ -33,7 +33,7 @@ |
#include "ui/gfx/geometry/rect_conversions.h" |
#include "ui/gfx/text_utils.h" |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
+#if defined(OS_ANDROID) |
#include "chrome/browser/android/chrome_application.h" |
#endif |
@@ -223,7 +223,7 @@ void PasswordGenerationPopupControllerImpl::ViewDestroyed() { |
} |
void PasswordGenerationPopupControllerImpl::OnSavedPasswordsLinkClicked() { |
-#if BUILDFLAG(ANDROID_JAVA_UI) |
+#if defined(OS_ANDROID) |
chrome::android::ChromeApplication::ShowPasswordSettings(); |
#else |
chrome::ShowSettingsSubPage( |