summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/toolbar
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/toolbar')
-rw-r--r--chrome/browser/ui/toolbar/back_forward_menu_model.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/ui/toolbar/back_forward_menu_model.cc b/chrome/browser/ui/toolbar/back_forward_menu_model.cc
index c9a9f7e..b634544 100644
--- a/chrome/browser/ui/toolbar/back_forward_menu_model.cc
+++ b/chrome/browser/ui/toolbar/back_forward_menu_model.cc
@@ -6,8 +6,6 @@
#include "chrome/browser/ui/toolbar/back_forward_menu_model.h"
-#include "base/bind.h"
-#include "base/bind_helpers.h"
#include "base/string_number_conversions.h"
#include "chrome/browser/event_disposition.h"
#include "chrome/browser/prefs/pref_service.h"
@@ -233,8 +231,7 @@ void BackForwardMenuModel::FetchFavicon(NavigationEntry* entry) {
return;
FaviconService::Handle handle = favicon_service->GetFaviconForURL(
entry->url(), history::FAVICON, &load_consumer_,
- base::Bind(&BackForwardMenuModel::OnFavIconDataAvailable,
- base::Unretained(this)));
+ NewCallback(this, &BackForwardMenuModel::OnFavIconDataAvailable));
load_consumer_.SetClientData(favicon_service, handle, entry->unique_id());
}