summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/search_engines/template_url_table_model.cc
diff options
context:
space:
mode:
authoracolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-07 23:45:35 +0000
committeracolwell@chromium.org <acolwell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-07 23:45:35 +0000
commit2f0158e718ff28a6884ffed00fc740a771e7929f (patch)
tree94e900a0a0be8f5cb20cd76eabfe73dfc1634437 /chrome/browser/ui/search_engines/template_url_table_model.cc
parentfdd84dc3a652c41a5f4e27a2363221c7a215f4f3 (diff)
downloadchromium_src-2f0158e718ff28a6884ffed00fc740a771e7929f.zip
chromium_src-2f0158e718ff28a6884ffed00fc740a771e7929f.tar.gz
chromium_src-2f0158e718ff28a6884ffed00fc740a771e7929f.tar.bz2
Revert 104597 - base::Bind: Complete cleanup of history/.
Breaks Linux Touch. BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8163005 TBR=jhawkins@chromium.org Review URL: http://codereview.chromium.org/8207012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104604 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/search_engines/template_url_table_model.cc')
-rw-r--r--chrome/browser/ui/search_engines/template_url_table_model.cc6
1 files changed, 2 insertions, 4 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 30151c9..df098cd 100644
--- a/chrome/browser/ui/search_engines/template_url_table_model.cc
+++ b/chrome/browser/ui/search_engines/template_url_table_model.cc
@@ -4,8 +4,7 @@
#include "chrome/browser/ui/search_engines/template_url_table_model.h"
-#include "base/bind.h"
-#include "base/bind_helpers.h"
+#include "base/callback.h"
#include "base/i18n/rtl.h"
#include "base/stl_util.h"
#include "base/utf_string_conversions.h"
@@ -93,8 +92,7 @@ class ModelEntry {
load_state_ = LOADING;
favicon_service->GetFavicon(favicon_url, history::FAVICON,
&request_consumer_,
- base::Bind(&ModelEntry::OnFaviconDataAvailable,
- base::Unretained(this)));
+ NewCallback(this, &ModelEntry::OnFaviconDataAvailable));
}
void OnFaviconDataAvailable(