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

Unified Diff: chrome/browser/profiles/avatar_menu_desktop.cc

Issue 1972033002: Simplify some old avatar menu button code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix test 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/ui/view_ids.h » ('j') | chrome/browser/ui/view_ids.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/avatar_menu_desktop.cc
diff --git a/chrome/browser/profiles/avatar_menu_desktop.cc b/chrome/browser/profiles/avatar_menu_desktop.cc
index 8a7bca6a7ced30c2bf08e199e18386a07c333a4a..7d3bb0da8d4c3b96b5a65a3a1550b8901f389663 100644
--- a/chrome/browser/profiles/avatar_menu_desktop.cc
+++ b/chrome/browser/profiles/avatar_menu_desktop.cc
@@ -21,7 +21,6 @@ void AvatarMenu::GetImageForMenuButton(const base::FilePath& profile_path,
ProfileAttributesEntry* entry;
if (!g_browser_process->profile_manager()->GetProfileAttributesStorage().
GetProfileAttributesWithPath(profile_path, &entry)) {
- NOTREACHED();
Peter Kasting 2016/05/17 03:51:42 So can this actually be reached, maybe for disk co
Evan Stade 2016/05/17 18:13:08 I made this change because we already had a lot of
return;
}
« no previous file with comments | « no previous file | chrome/browser/ui/view_ids.h » ('j') | chrome/browser/ui/view_ids.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698