Index: chrome/browser/autocomplete/history_url_provider.cc |
diff --git a/chrome/browser/autocomplete/history_url_provider.cc b/chrome/browser/autocomplete/history_url_provider.cc |
index 24aa7f0842d904faeb4a3e1cd17f8a493aca8b7b..c8a018c94e6092d9fa12822174530cfc347b9552 100644 |
--- a/chrome/browser/autocomplete/history_url_provider.cc |
+++ b/chrome/browser/autocomplete/history_url_provider.cc |
@@ -471,9 +471,12 @@ HistoryURLProviderParams::HistoryURLProviderParams( |
HistoryURLProviderParams::~HistoryURLProviderParams() { |
} |
-HistoryURLProvider::HistoryURLProvider(AutocompleteProviderListener* listener, |
- Profile* profile) |
- : HistoryProvider(profile, AutocompleteProvider::TYPE_HISTORY_URL), |
+HistoryURLProvider::HistoryURLProvider( |
+ scoped_ptr<AutocompleteProviderClient> client, |
+ AutocompleteProviderListener* listener, |
+ Profile* profile) |
+ : HistoryProvider(client.Pass(), AutocompleteProvider::TYPE_HISTORY_URL), |
+ profile_(profile), |
listener_(listener), |
params_(NULL) { |
// Initialize HUP scoring params based on the current experiment. |