diff options
Diffstat (limited to 'chrome/browser/protector')
-rw-r--r-- | chrome/browser/protector/settings_change_global_error.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/protector/settings_change_global_error.cc b/chrome/browser/protector/settings_change_global_error.cc index fe1258c..5b57584 100644 --- a/chrome/browser/protector/settings_change_global_error.cc +++ b/chrome/browser/protector/settings_change_global_error.cc @@ -155,6 +155,10 @@ void SettingsChangeGlobalError::Show() { DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); DCHECK(profile_); browser_ = BrowserList::GetLastActiveWithProfile(profile_); + if (!browser_ && profile_->HasOffTheRecordProfile()) { + browser_ = BrowserList::GetLastActiveWithProfile( + profile_->GetOffTheRecordProfile()); + } if (browser_) ShowBubbleView(browser_); } |