summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/search_engines
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-07 23:15:32 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-07 23:15:32 +0000
commit5f294031db12d64ea7eb1788c9aabf001a90653c (patch)
tree456ab18e2c22e31d75d7055db85f2cd8a2fde590 /chrome/browser/ui/search_engines
parenta1b7a0fdd7d3f33cbaeefd2f41b0c2ee86449394 (diff)
downloadchromium_src-5f294031db12d64ea7eb1788c9aabf001a90653c.zip
chromium_src-5f294031db12d64ea7eb1788c9aabf001a90653c.tar.gz
chromium_src-5f294031db12d64ea7eb1788c9aabf001a90653c.tar.bz2
base::Bind: Complete cleanup of history/.
BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8163005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104597 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/search_engines')
-rw-r--r--chrome/browser/ui/search_engines/template_url_table_model.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/ui/search_engines/template_url_table_model.cc b/chrome/browser/ui/search_engines/template_url_table_model.cc
index df098cd..30151c9 100644
--- a/chrome/browser/ui/search_engines/template_url_table_model.cc
+++ b/chrome/browser/ui/search_engines/template_url_table_model.cc
@@ -4,7 +4,8 @@
#include "chrome/browser/ui/search_engines/template_url_table_model.h"
-#include "base/callback.h"
+#include "base/bind.h"
+#include "base/bind_helpers.h"
#include "base/i18n/rtl.h"
#include "base/stl_util.h"
#include "base/utf_string_conversions.h"
@@ -92,7 +93,8 @@ class ModelEntry {
load_state_ = LOADING;
favicon_service->GetFavicon(favicon_url, history::FAVICON,
&request_consumer_,
- NewCallback(this, &ModelEntry::OnFaviconDataAvailable));
+ base::Bind(&ModelEntry::OnFaviconDataAvailable,
+ base::Unretained(this)));
}
void OnFaviconDataAvailable(