Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5983)

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view.cc

Issue 8890069: Revert 113789 - [cros] Use a distinct icon for the guest session. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
===================================================================
--- chrome/browser/ui/views/frame/browser_non_client_frame_view.cc (revision 113796)
+++ chrome/browser/ui/views/frame/browser_non_client_frame_view.cc (working copy)
@@ -38,11 +38,8 @@
if (!avatar_button_.get())
return;
- if (browser_view_->IsGuestSession()) {
+ if (browser_view_->IsOffTheRecord()) {
avatar_button_->SetAvatarIcon(
- gfx::Image(new SkBitmap(browser_view_->GetGuestAvatarIcon())), false);
- } else if (browser_view_->IsOffTheRecord()) {
- avatar_button_->SetAvatarIcon(
gfx::Image(new SkBitmap(browser_view_->GetOTRAvatarIcon())), false);
} else {
ProfileInfoCache& cache =
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698