| Index: Source/WebKit/chromium/src/WebViewImpl.cpp
|
| diff --git a/Source/WebKit/chromium/src/WebViewImpl.cpp b/Source/WebKit/chromium/src/WebViewImpl.cpp
|
| index 030d8e1d1b54324f0ac1cc9f8428bbaf0b6a6288..218dd375ccd10648b696346bb561e705f2921883 100644
|
| --- a/Source/WebKit/chromium/src/WebViewImpl.cpp
|
| +++ b/Source/WebKit/chromium/src/WebViewImpl.cpp
|
| @@ -2798,12 +2798,10 @@ void WebViewImpl::applyAutofillSuggestions(
|
| const WebVector<WebString>& names,
|
| const WebVector<WebString>& labels,
|
| const WebVector<WebString>& icons,
|
| - const WebVector<int>& uniqueIDs,
|
| - int separatorIndex)
|
| + const WebVector<int>& itemIDs)
|
| {
|
| ASSERT(names.size() == labels.size());
|
| - ASSERT(names.size() == uniqueIDs.size());
|
| - ASSERT(separatorIndex < static_cast<int>(names.size()));
|
| + ASSERT(names.size() == itemIDs.size());
|
|
|
| if (names.isEmpty()) {
|
| hideAutofillPopup();
|
| @@ -2828,7 +2826,7 @@ void WebViewImpl::applyAutofillSuggestions(
|
| m_autofillPopupClient = adoptPtr(new AutofillPopupMenuClient);
|
|
|
| m_autofillPopupClient->initialize(
|
| - inputElem, names, labels, icons, uniqueIDs, separatorIndex);
|
| + inputElem, names, labels, icons, itemIDs);
|
|
|
| if (!m_autofillPopup) {
|
| PopupContainerSettings popupSettings = autofillPopupSettings;
|
|
|