Chromium Code Reviews| Index: chrome/browser/profiles/profile.cc |
| diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc |
| index 72180132ccdc4001aeee81d8fbfabe7e6a66d4f2..f57decdc2f4ff8c68a4af47d201ae6629bd9ff3c 100644 |
| --- a/chrome/browser/profiles/profile.cc |
| +++ b/chrome/browser/profiles/profile.cc |
| @@ -252,6 +252,8 @@ bool Profile::IsSyncAccessible() { |
| void Profile::MaybeSendDestroyedNotification() { |
| if (!sent_destroyed_notification_) { |
| sent_destroyed_notification_ = true; |
| + |
| + NotifyWillBeDestroyed(this); |
|
jam
2014/10/23 22:45:22
we shouldn't have content depend on every embedder
falken
2014/10/24 00:53:34
It's actually chrome stuff that's breaking because
|
| content::NotificationService::current()->Notify( |
| chrome::NOTIFICATION_PROFILE_DESTROYED, |
| content::Source<Profile>(this), |