| Index: chrome/browser/autofill/autocomplete_history_manager.cc
|
| diff --git a/chrome/browser/autofill/autocomplete_history_manager.cc b/chrome/browser/autofill/autocomplete_history_manager.cc
|
| index bc2cd2dc0834f6c4b6c5906fa9377cf183166c25..831cce47aae64cab362874368999bda251770e5c 100644
|
| --- a/chrome/browser/autofill/autocomplete_history_manager.cc
|
| +++ b/chrome/browser/autofill/autocomplete_history_manager.cc
|
| @@ -116,9 +116,9 @@ AutocompleteHistoryManager::AutocompleteHistoryManager(
|
| external_delegate_(NULL) {
|
| browser_context_ = web_contents->GetBrowserContext();
|
| // May be NULL in unit tests.
|
| - autofill_data_ = AutofillWebDataService::ForContext(browser_context_);
|
| + autofill_data_ = AutofillWebDataService::FromBrowserContext(browser_context_);
|
| autofill_enabled_.Init(prefs::kAutofillEnabled,
|
| - PrefServiceBase::ForContext(browser_context_),
|
| + PrefServiceBase::FromBrowserContext(browser_context_),
|
| NULL);
|
| }
|
|
|
| @@ -246,7 +246,7 @@ AutocompleteHistoryManager::AutocompleteHistoryManager(
|
| query_id_(0),
|
| external_delegate_(NULL) {
|
| autofill_enabled_.Init(prefs::kAutofillEnabled,
|
| - PrefServiceBase::ForContext(browser_context_),
|
| + PrefServiceBase::FromBrowserContext(browser_context_),
|
| NULL);
|
| }
|
|
|
|
|