summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/malware_details_history.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/safe_browsing/malware_details_history.cc')
-rw-r--r--chrome/browser/safe_browsing/malware_details_history.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/safe_browsing/malware_details_history.cc b/chrome/browser/safe_browsing/malware_details_history.cc
index 11a0d4c..ed5e36a 100644
--- a/chrome/browser/safe_browsing/malware_details_history.cc
+++ b/chrome/browser/safe_browsing/malware_details_history.cc
@@ -7,7 +7,6 @@
#include "chrome/browser/safe_browsing/malware_details_history.h"
#include "base/bind.h"
-#include "base/bind_helpers.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/safe_browsing/malware_details.h"
#include "chrome/common/chrome_notification_types.h"
@@ -79,8 +78,8 @@ void MalwareDetailsRedirectsCollector::GetRedirects(const GURL& url) {
history->QueryRedirectsTo(
url,
&request_consumer_,
- base::Bind(&MalwareDetailsRedirectsCollector::OnGotQueryRedirectsTo,
- base::Unretained(this)));
+ NewCallback(this,
+ &MalwareDetailsRedirectsCollector::OnGotQueryRedirectsTo));
}
void MalwareDetailsRedirectsCollector::OnGotQueryRedirectsTo(