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..57c5e9a0e546479c9dc13b147d68768f779f2277 100644 |
--- a/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc |
+++ b/chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc |
@@ -34,7 +34,7 @@ |
#include "ui/gfx/geometry/rect_conversions.h" |
#include "ui/gfx/text_utils.h" |
-#if defined(OS_ANDROID) |
+#if defined(ANDROID_JAVA_UI) |
#include "chrome/browser/android/chrome_application.h" |
#endif |
@@ -232,7 +232,7 @@ void PasswordGenerationPopupControllerImpl::ViewDestroyed() { |
} |
void PasswordGenerationPopupControllerImpl::OnSavedPasswordsLinkClicked() { |
-#if defined(OS_ANDROID) |
+#if defined(ANDROID_JAVA_UI) |
chrome::android::ChromeApplication::ShowPasswordSettings(); |
#else |
chrome::ShowSettingsSubPage( |