summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs/tab_finder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tabs/tab_finder.cc')
-rw-r--r--chrome/browser/tabs/tab_finder.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/tabs/tab_finder.cc b/chrome/browser/tabs/tab_finder.cc
index 5bf2c59..af32e1f 100644
--- a/chrome/browser/tabs/tab_finder.cc
+++ b/chrome/browser/tabs/tab_finder.cc
@@ -4,8 +4,6 @@
#include "chrome/browser/tabs/tab_finder.h"
-#include "base/bind.h"
-#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "base/stl_util.h"
#include "chrome/browser/history/history.h"
@@ -218,8 +216,7 @@ void TabFinder::FetchRedirectStart(TabContents* tab) {
history->QueryRedirectsTo(
committed_entry->url(),
&callback_consumer_,
- base::Bind(&TabFinder::QueryRedirectsToComplete,
- base::Unretained(this)));
+ NewCallback(this, &TabFinder::QueryRedirectsToComplete));
callback_consumer_.SetClientData(history, request_handle, tab);
}
}