summaryrefslogtreecommitdiffstats
path: root/chrome/browser/page_info_model.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/page_info_model.cc')
-rw-r--r--chrome/browser/page_info_model.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/page_info_model.cc b/chrome/browser/page_info_model.cc
index de4b4c2..9e4394d 100644
--- a/chrome/browser/page_info_model.cc
+++ b/chrome/browser/page_info_model.cc
@@ -6,8 +6,6 @@
#include <string>
-#include "base/bind.h"
-#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "base/i18n/time_formatting.h"
#include "base/string_number_conversions.h"
@@ -286,8 +284,7 @@ PageInfoModel::PageInfoModel(Profile* profile,
history->GetVisibleVisitCountToHost(
url,
&request_consumer_,
- base::Bind(&PageInfoModel::OnGotVisitCountToHost,
- base::Unretained(this)));
+ NewCallback(this, &PageInfoModel::OnGotVisitCountToHost));
}
}