summaryrefslogtreecommitdiffstats
path: root/android_webview
diff options
context:
space:
mode:
authormathp <mathp@chromium.org>2015-06-19 09:57:46 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-19 16:58:11 +0000
commit45ff8057c67006c9762b3b425f3f1203f8557574 (patch)
tree052f91b79278cd3b89345da656154ddf72b4f13b /android_webview
parent6f3002d9e87d690bb368931faa2c3ba4638f811e (diff)
downloadchromium_src-45ff8057c67006c9762b3b425f3f1203f8557574.zip
chromium_src-45ff8057c67006c9762b3b425f3f1203f8557574.tar.gz
chromium_src-45ff8057c67006c9762b3b425f3f1203f8557574.tar.bz2
[Autofill] Log the index of the accepted suggestion in the popup
BUG=None TEST=AutofillExternalDelegate* Review URL: https://codereview.chromium.org/1188623003 Cr-Commit-Position: refs/heads/master@{#335272}
Diffstat (limited to 'android_webview')
-rw-r--r--android_webview/native/aw_autofill_client.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/android_webview/native/aw_autofill_client.cc b/android_webview/native/aw_autofill_client.cc
index d21fe72..613d22b 100644
--- a/android_webview/native/aw_autofill_client.cc
+++ b/android_webview/native/aw_autofill_client.cc
@@ -185,7 +185,8 @@ void AwAutofillClient::SuggestionSelected(JNIEnv* env,
jint position) {
if (delegate_) {
delegate_->DidAcceptSuggestion(suggestions_[position].value,
- suggestions_[position].frontend_id);
+ suggestions_[position].frontend_id,
+ position);
}
}