Index: chrome/browser/autocomplete/history_quick_provider.cc |
diff --git a/chrome/browser/autocomplete/history_quick_provider.cc b/chrome/browser/autocomplete/history_quick_provider.cc |
index 96c763b0044465347582e03ae702d2ce3a21ee7b..ff86cd6330f0c0cf609f8ac3e01769340431ac55 100644 |
--- a/chrome/browser/autocomplete/history_quick_provider.cc |
+++ b/chrome/browser/autocomplete/history_quick_provider.cc |
@@ -47,9 +47,11 @@ |
bool HistoryQuickProvider::disabled_ = false; |
HistoryQuickProvider::HistoryQuickProvider( |
+ scoped_ptr<AutocompleteProviderClient> client, |
Profile* profile, |
InMemoryURLIndex* in_memory_url_index) |
- : HistoryProvider(profile, AutocompleteProvider::TYPE_HISTORY_QUICK), |
+ : HistoryProvider(client.Pass(), AutocompleteProvider::TYPE_HISTORY_QUICK), |
+ profile_(profile), |
languages_(profile_->GetPrefs()->GetString(prefs::kAcceptLanguages)), |
in_memory_url_index_(in_memory_url_index) { |
} |