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

Unified Diff: chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc

Issue 1844193002: Fix text coloration for GTK-themed MdTextButtons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/libgtk2ui/native_theme_gtk2.cc
diff --git a/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc b/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
index 97157588a56b834fda1de21103ca381a2b785004..814babed4b2ea5031d336463d2b25fa25a25a001 100644
--- a/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
+++ b/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc
@@ -326,7 +326,7 @@ SkColor NativeThemeGtk2::GetSystemColor(ColorId color_id) const {
case kColorId_CallToActionColor:
return GetSystemColor(kColorId_LinkEnabled);
case kColorId_TextOnCallToActionColor:
- return GetTextAAColor(GetLabel(), PRELIGHT);
+ return GetTextColor(GetLabel(), SELECTED);
// Textfield
case kColorId_TextfieldDefaultColor:
« 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