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 bdc57b8ff23e4b6f603337dd9216a901f5e3a648..bc8b0ea55b556bbaf2a431ff8d3322ecb32b26b3 100644 |
--- a/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc |
+++ b/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc |
@@ -18,6 +18,7 @@ |
#include "chrome/browser/ui/autofill/popup_constants.h" |
#include "chrome/browser/ui/browser_finder.h" |
#include "chrome/browser/ui/chrome_pages.h" |
+#include "chrome/common/features.h" |
#include "chrome/common/url_constants.h" |
#include "chrome/grit/chromium_strings.h" |
#include "chrome/grit/generated_resources.h" |
@@ -34,7 +35,7 @@ |
#include "ui/gfx/geometry/rect_conversions.h" |
#include "ui/gfx/text_utils.h" |
-#if defined(OS_ANDROID) |
+#if BUILDFLAG(ANDROID_JAVA_UI) |
#include "chrome/browser/android/chrome_application.h" |
#endif |
@@ -232,7 +233,7 @@ void PasswordGenerationPopupControllerImpl::ViewDestroyed() { |
} |
void PasswordGenerationPopupControllerImpl::OnSavedPasswordsLinkClicked() { |
-#if defined(OS_ANDROID) |
+#if BUILDFLAG(ANDROID_JAVA_UI) |
chrome::android::ChromeApplication::ShowPasswordSettings(); |
#else |
chrome::ShowSettingsSubPage( |