Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/browser/ui/views/frame/

Issue 117533002: [Mac] Redesign of the avatar menu button (Closed) Base URL: svn://
Patch Set: fix tabstrip width Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/
diff --git a/chrome/browser/ui/views/frame/ b/chrome/browser/ui/views/frame/
index a1dc1b6fe91841581f5784cea1ac4d3b323a895c..579f17664a160cea54cb6aba6b98d93b64cf7f07 100644
--- a/chrome/browser/ui/views/frame/
+++ b/chrome/browser/ui/views/frame/
@@ -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());
Nico 2014/01/07 23:20:33 is this change intentionally in this cl?
noms (inactive) 2014/01/08 15:05:31 Yes, but I can move it in a separate CL if you wan
int BrowserView::GetOTRIconResourceID() const {

Powered by Google App Engine
This is Rietveld 408576698