Index: components/autofill/core/browser/autofill_manager.cc |
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc |
index 59951de7e5604d3f0c0c6a5502412c057215ff3f..50a8d26d19f892a355261732de353b4aedc6c2d8 100644 |
--- a/components/autofill/core/browser/autofill_manager.cc |
+++ b/components/autofill/core/browser/autofill_manager.cc |
@@ -621,11 +621,10 @@ const std::vector<FormStructure*>& AutofillManager::GetFormStructures() { |
void AutofillManager::ShowRequestAutocompleteDialog( |
const FormData& form, |
const GURL& source_url, |
- autofill::DialogType dialog_type, |
const base::Callback<void(const FormStructure*, |
const std::string&)>& callback) { |
manager_delegate_->ShowRequestAutocompleteDialog( |
- form, source_url, dialog_type, callback); |
+ form, source_url, callback); |
} |
void AutofillManager::SetTestDelegate( |
@@ -670,8 +669,7 @@ void AutofillManager::OnRequestAutocomplete( |
base::Callback<void(const FormStructure*, const std::string&)> callback = |
base::Bind(&AutofillManager::ReturnAutocompleteData, |
weak_ptr_factory_.GetWeakPtr()); |
- ShowRequestAutocompleteDialog( |
- form, frame_url, autofill::DIALOG_TYPE_REQUEST_AUTOCOMPLETE, callback); |
+ ShowRequestAutocompleteDialog(form, frame_url, callback); |
} |
void AutofillManager::ReturnAutocompleteResult( |