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 935a33875e6729157c7f7504552b7650da961b45..da7dc0eb7b315fc1a89f2394130bb54da29f6bdc 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(OS_ANDROID) && !defined(USE_AURA) |
#include "chrome/browser/android/chrome_application.h" |
#endif |
@@ -232,7 +232,7 @@ void PasswordGenerationPopupControllerImpl::ViewDestroyed() { |
} |
void PasswordGenerationPopupControllerImpl::OnSavedPasswordsLinkClicked() { |
-#if defined(OS_ANDROID) |
+#if defined(OS_ANDROID) && !defined(USE_AURA) |
chrome::android::ChromeApplication::ShowPasswordSettings(); |
#else |
chrome::ShowSettingsSubPage( |