diff options
Diffstat (limited to 'chrome/browser/ui/webui/ntp/favicon_webui_handler.cc')
| -rw-r--r-- | chrome/browser/ui/webui/ntp/favicon_webui_handler.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc b/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc index 0ae6443..f4e9688 100644 --- a/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc +++ b/chrome/browser/ui/webui/ntp/favicon_webui_handler.cc @@ -5,7 +5,7 @@ #include "chrome/browser/ui/webui/ntp/favicon_webui_handler.h" #include "base/bind.h" -#include "base/bind_helpers.h" +#include "base/callback_old.h" #include "base/string_split.h" #include "base/string_util.h" #include "base/stringprintf.h" @@ -77,8 +77,7 @@ void FaviconWebUIHandler::HandleGetFaviconDominantColor(const ListValue* args) { GURL(path), history::FAVICON, &consumer_, - base::Bind(&FaviconWebUIHandler::OnFaviconDataAvailable, - base::Unretained(this))); + NewCallback(this, &FaviconWebUIHandler::OnFaviconDataAvailable)); consumer_.SetClientData(favicon_service, handle, id_++); } |
