summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs
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/tabs
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/tabs')
-rw-r--r--chrome/browser/tabs/tab_finder.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/tabs/tab_finder.cc b/chrome/browser/tabs/tab_finder.cc
index af32e1f..5bf2c59 100644
--- a/chrome/browser/tabs/tab_finder.cc
+++ b/chrome/browser/tabs/tab_finder.cc
@@ -4,6 +4,8 @@
#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"
@@ -216,7 +218,8 @@ void TabFinder::FetchRedirectStart(TabContents* tab) {
history->QueryRedirectsTo(
committed_entry->url(),
&callback_consumer_,
- NewCallback(this, &TabFinder::QueryRedirectsToComplete));
+ base::Bind(&TabFinder::QueryRedirectsToComplete,
+ base::Unretained(this)));
callback_consumer_.SetClientData(history, request_handle, tab);
}
}