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

Unified Diff: chrome/browser/ui/views/profiles/avatar_button.cc

Issue 2887363002: Always use the new style avatar button for the glass frame on Windows 10 (Closed)
Patch Set: Created 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/profiles/avatar_button.cc
diff --git a/chrome/browser/ui/views/profiles/avatar_button.cc b/chrome/browser/ui/views/profiles/avatar_button.cc
index 5220c705cbf7374bce477b4a18c28add1c382812..0c2710b7acf8aa68059d60180470a0dd1ef522e6 100644
--- a/chrome/browser/ui/views/profiles/avatar_button.cc
+++ b/chrome/browser/ui/views/profiles/avatar_button.cc
@@ -368,7 +368,6 @@ void AvatarButton::SetButtonAvatar(int avatar_idr) {
bool AvatarButton::IsCondensible() const {
#if defined(OS_WIN)
return (base::win::GetVersion() >= base::win::VERSION_WIN10) &&
- ThemeServiceFactory::GetForProfile(profile_)->UsingSystemTheme() &&
button_style_ == AvatarButtonStyle::NATIVE;
#else
return false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698