summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browsing_data_remover.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browsing_data_remover.cc')
-rw-r--r--chrome/browser/browsing_data_remover.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/browsing_data_remover.cc b/chrome/browser/browsing_data_remover.cc
index 0cfc15d..0d7f021 100644
--- a/chrome/browser/browsing_data_remover.cc
+++ b/chrome/browser/browsing_data_remover.cc
@@ -8,7 +8,6 @@
#include <set>
#include "base/bind.h"
-#include "base/bind_helpers.h"
#include "base/callback.h"
#include "base/file_util.h"
#include "base/logging.h"
@@ -137,8 +136,7 @@ void BrowsingDataRemover::Remove(int remove_mask) {
history_service->ExpireHistoryBetween(restrict_urls,
delete_begin_, delete_end_,
&request_consumer_,
- base::Bind(&BrowsingDataRemover::OnHistoryDeletionDone,
- base::Unretained(this)));
+ NewCallback(this, &BrowsingDataRemover::OnHistoryDeletionDone));
}
// Need to clear the host cache and accumulated speculative data, as it also