| Index: chrome/browser/ui/views/frame/browser_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
|
| index 420780308bf94909e86f7b28ab0ebd9009f41bf9..5373e0bed73fa3398cc18da68683e60a58e4aaef 100644
|
| --- a/chrome/browser/ui/views/frame/browser_view.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_view.cc
|
| @@ -561,8 +561,7 @@ bool BrowserView::IsGuestSession() const {
|
| }
|
|
|
| bool BrowserView::IsRegularOrGuestSession() const {
|
| - Profile* profile = browser_->profile();
|
| - return (profile->IsGuestSession() || !profile->IsOffTheRecord());
|
| + return profiles::IsRegularOrGuestSession(browser_.get());
|
| }
|
|
|
| int BrowserView::GetOTRIconResourceID() const {
|
|
|