| Index: chrome/browser/ui/browser.cc
|
| ===================================================================
|
| --- chrome/browser/ui/browser.cc (revision 96525)
|
| +++ chrome/browser/ui/browser.cc (working copy)
|
| @@ -388,7 +388,7 @@
|
| use_compact_navigation_bar_.Destroy();
|
|
|
| if (profile_->IsOffTheRecord() &&
|
| - !BrowserList::IsOffTheRecordSessionActive()) {
|
| + !BrowserList::IsOffTheRecordSessionActiveForProfile(profile_)) {
|
| // An incognito profile is no longer needed, this indirectly
|
| // frees its cache and cookies.
|
| profile_->GetOriginalProfile()->DestroyOffTheRecordProfile();
|
|
|