diff options
Diffstat (limited to 'chrome/browser/autocomplete')
| -rw-r--r-- | chrome/browser/autocomplete/history_contents_provider.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/autocomplete/history_contents_provider.cc b/chrome/browser/autocomplete/history_contents_provider.cc index 6ec694c..7061daf 100644 --- a/chrome/browser/autocomplete/history_contents_provider.cc +++ b/chrome/browser/autocomplete/history_contents_provider.cc @@ -4,8 +4,7 @@ #include "chrome/browser/autocomplete/history_contents_provider.h" -#include "base/bind.h" -#include "base/bind_helpers.h" +#include "base/callback.h" #include "base/metrics/histogram.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" @@ -138,8 +137,7 @@ void HistoryContentsProvider::Start(const AutocompleteInput& input, options.max_count = kMaxMatches; history->QueryHistory(input.text(), options, &request_consumer_, - base::Bind(&HistoryContentsProvider::QueryComplete, - base::Unretained(this))); + NewCallback(this, &HistoryContentsProvider::QueryComplete)); } } } |
