Index: chrome/browser/ui/browser.cc |
=================================================================== |
--- chrome/browser/ui/browser.cc (revision 122340) |
+++ chrome/browser/ui/browser.cc (working copy) |
@@ -461,7 +461,7 @@ |
!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 |