Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 7a5199b570866ce71fbd6ab0f9d35ce0783ed4e2..f36bc65dfec6b96b2501b25e8e0a5493566185a4 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -461,10 +461,8 @@ void ProfileImpl::set_last_selected_directory(const FilePath& path) { |
} |
ProfileImpl::~ProfileImpl() { |
- content::NotificationService::current()->Notify( |
- chrome::NOTIFICATION_PROFILE_DESTROYED, |
- content::Source<Profile>(this), |
- content::NotificationService::NoDetails()); |
+ MaybeSendDestroyedNotification(); |
+ |
bool prefs_loaded = prefs_->GetInitializationStatus() != |
PrefService::INITIALIZATION_STATUS_WAITING; |