diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-08 18:14:24 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-08 18:14:24 +0000 |
commit | bbdd29869de3ae2de2536f780eccb0da99da7570 (patch) | |
tree | c897b86ed22da6ca6a0b1ba271f7c2ea07d2805d /chrome/browser/autocomplete | |
parent | f5da41d2fa5331d208d13cb6e9d0fb6790a52fc6 (diff) | |
download | chromium_src-bbdd29869de3ae2de2536f780eccb0da99da7570.zip chromium_src-bbdd29869de3ae2de2536f780eccb0da99da7570.tar.gz chromium_src-bbdd29869de3ae2de2536f780eccb0da99da7570.tar.bz2 |
base::Bind: Complete cleanup of history/.
Previous version reverted; linux touch build now fixed.
TBR=csilv
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8205024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104660 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r-- | chrome/browser/autocomplete/history_contents_provider.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/history_contents_provider.cc b/chrome/browser/autocomplete/history_contents_provider.cc index 7061daf..6ec694c 100644 --- a/chrome/browser/autocomplete/history_contents_provider.cc +++ b/chrome/browser/autocomplete/history_contents_provider.cc @@ -4,7 +4,8 @@ #include "chrome/browser/autocomplete/history_contents_provider.h" -#include "base/callback.h" +#include "base/bind.h" +#include "base/bind_helpers.h" #include "base/metrics/histogram.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" @@ -137,7 +138,8 @@ void HistoryContentsProvider::Start(const AutocompleteInput& input, options.max_count = kMaxMatches; history->QueryHistory(input.text(), options, &request_consumer_, - NewCallback(this, &HistoryContentsProvider::QueryComplete)); + base::Bind(&HistoryContentsProvider::QueryComplete, + base::Unretained(this))); } } } |