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

Unified Diff: chrome/browser/chromeos/profiles/avatar_menu_chromeos.cc

Issue 1972033002: Simplify some old avatar menu button code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reinstate ash browser test fix Created 4 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/profiles/avatar_menu.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/profiles/avatar_menu_chromeos.cc
diff --git a/chrome/browser/chromeos/profiles/avatar_menu_chromeos.cc b/chrome/browser/chromeos/profiles/avatar_menu_chromeos.cc
index f8b69a6b5b321c8bf8c5b33d0692902475564e43..de3a55eb00d97a921b1b6b113d4c31d76b6148dc 100644
--- a/chrome/browser/chromeos/profiles/avatar_menu_chromeos.cc
+++ b/chrome/browser/chromeos/profiles/avatar_menu_chromeos.cc
@@ -15,10 +15,8 @@
// static
void AvatarMenu::GetImageForMenuButton(const base::FilePath& profile_path,
- gfx::Image* image,
- bool* is_rectangle) {
+ gfx::Image* image) {
// ChromeOS avatar icon is circular.
- *is_rectangle = false;
Profile* profile =
g_browser_process->profile_manager()->GetProfileByPath(profile_path);
*image = gfx::Image(GetAvatarImageForContext(profile));
« no previous file with comments | « no previous file | chrome/browser/profiles/avatar_menu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698