diff options
Diffstat (limited to 'chrome/browser/page_info_model.cc')
-rw-r--r-- | chrome/browser/page_info_model.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/page_info_model.cc b/chrome/browser/page_info_model.cc index 9e4394d..de4b4c2 100644 --- a/chrome/browser/page_info_model.cc +++ b/chrome/browser/page_info_model.cc @@ -6,6 +6,8 @@ #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" @@ -284,7 +286,8 @@ PageInfoModel::PageInfoModel(Profile* profile, history->GetVisibleVisitCountToHost( url, &request_consumer_, - NewCallback(this, &PageInfoModel::OnGotVisitCountToHost)); + base::Bind(&PageInfoModel::OnGotVisitCountToHost, + base::Unretained(this))); } } |