Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Unified Diff: chrome/browser/ui/autofill/chrome_autofill_client.cc

Issue 866523002: [Abandoned] Add Autofill to the <webview> chrome://chrome-signin page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add dcheck for the chrome signin page Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/autofill/chrome_autofill_client.cc
diff --git a/chrome/browser/ui/autofill/chrome_autofill_client.cc b/chrome/browser/ui/autofill/chrome_autofill_client.cc
index 37c8c48ec95f0cb0bda949838cf64c5b8f4254a0..52cd2fa027ae6e285357508b4a601a2c9b2f862c 100644
--- a/chrome/browser/ui/autofill/chrome_autofill_client.cc
+++ b/chrome/browser/ui/autofill/chrome_autofill_client.cc
@@ -186,13 +186,13 @@ void ChromeAutofillClient::ShowAutofillPopup(
element_bounds + client_area.OffsetFromOrigin();
// Will delete or reuse the old |popup_controller_|.
- popup_controller_ =
- AutofillPopupControllerImpl::GetOrCreate(popup_controller_,
- delegate,
- web_contents(),
- web_contents()->GetNativeView(),
- element_bounds_in_screen_space,
- text_direction);
+ popup_controller_ = AutofillPopupControllerImpl::GetOrCreate(
+ popup_controller_,
+ delegate,
+ web_contents(),
+ web_contents()->GetContentNativeView(),
+ element_bounds_in_screen_space,
+ text_direction);
popup_controller_->Show(suggestions);
}

Powered by Google App Engine
This is Rietveld 408576698