| Index: chrome/browser/profiles/profile_manager.cc
|
| diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
|
| index ab192042a61a91916d88f323d8ecfcc69f7a4338..800010b79252d961655dccbf41b14038c5cc50f4 100644
|
| --- a/chrome/browser/profiles/profile_manager.cc
|
| +++ b/chrome/browser/profiles/profile_manager.cc
|
| @@ -1670,7 +1670,7 @@ 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.
|
| - if (!profile->IsSystemProfile()) {
|
| + if (!profile->IsSystemProfile() && !original_profile->IsSystemProfile()) {
|
| ProfileStatisticsFactory::GetForProfile(original_profile)->
|
| GatherStatistics(profiles::ProfileStatisticsCallback());
|
| }
|
|
|