| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index b85f8a6846e5a45c5da5a8f1983dd2703b56584e..e53ad0e3d828d244e735f948461407d50f8b4c6f 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -516,7 +516,7 @@ Browser::~Browser() {
|
| !BrowserList::IsOffTheRecordSessionActiveForProfile(profile_)) {
|
| // An incognito profile is no longer needed, this indirectly frees
|
| // its cache and cookies once it gets destroyed at the appropriate time.
|
| - ProfileDestroyer::DestroyOffTheRecordProfile(profile_);
|
| + ProfileDestroyer::DestroyProfileWhenAppropriate(profile_);
|
| }
|
|
|
| // There may be pending file dialogs, we need to tell them that we've gone
|
|
|