| Index: components/autofill/browser/autocomplete_history_manager.cc
|
| diff --git a/components/autofill/browser/autocomplete_history_manager.cc b/components/autofill/browser/autocomplete_history_manager.cc
|
| index e1681ba075ddecae37bdec48d3d597fdf8c1279b..38907cda8d09a4108f4f14ac6f77975fb013a950 100644
|
| --- a/components/autofill/browser/autocomplete_history_manager.cc
|
| +++ b/components/autofill/browser/autocomplete_history_manager.cc
|
| @@ -109,11 +109,11 @@ bool IsTextField(const FormFieldData& field) {
|
| } // namespace
|
|
|
| AutocompleteHistoryManager::AutocompleteHistoryManager(
|
| - WebContents* web_contents)
|
| + WebContents* web_contents,
|
| + scoped_refptr<AutofillWebDataService> autofill_data)
|
| : content::WebContentsObserver(web_contents),
|
| browser_context_(web_contents->GetBrowserContext()),
|
| - autofill_data_(
|
| - AutofillWebDataService::FromBrowserContext(browser_context_)),
|
| + autofill_data_(autofill_data),
|
| pending_query_handle_(0),
|
| query_id_(0),
|
| external_delegate_(NULL) {
|
|
|