| Index: chrome/browser/profiles/profile_manager.cc
|
| diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
|
| index 070486a578cdf11ba175d370d1a20d130bbd1308..e243830b45d9ce9accfc4db11eff6075750bf29a 100644
|
| --- a/chrome/browser/profiles/profile_manager.cc
|
| +++ b/chrome/browser/profiles/profile_manager.cc
|
| @@ -1071,8 +1071,8 @@ void ProfileManager::DoFinalInit(Profile* profile, bool go_off_the_record) {
|
| if (!profile->IsGuestSession() && !profile->IsSystemProfile() &&
|
| !profile->IsNewProfile() && !go_off_the_record &&
|
| profile->GetLastSessionExitType() != Profile::EXIT_NORMAL) {
|
| - profiles::GatherProfileStatistics(
|
| - profile, profiles::ProfileStatisticsCallback(), nullptr);
|
| + ProfileStatistics::GatherProfileStatistics(
|
| + profile, profiles::ProfileStatisticsCallback());
|
| }
|
| }
|
|
|
| @@ -1501,8 +1501,8 @@ void ProfileManager::BrowserListObserver::OnBrowserRemoved(
|
| // Gather statistics and store into ProfileInfoCache. For incognito profile
|
| // we gather the statistics of its parent profile instead, because a window
|
| // of the parent profile was open.
|
| - profiles::GatherProfileStatistics(
|
| - original_profile, profiles::ProfileStatisticsCallback(), nullptr);
|
| + ProfileStatistics::GatherProfileStatistics(
|
| + original_profile, profiles::ProfileStatisticsCallback());
|
| }
|
| }
|
|
|
|
|