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

Unified Diff: ui/views/controls/button/md_text_button.cc

Issue 2180033002: Make normal MD text buttons white. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: ui/views/controls/button/md_text_button.cc
diff --git a/ui/views/controls/button/md_text_button.cc b/ui/views/controls/button/md_text_button.cc
index cbcce496d4d11fecf8747f7318e54ba28d9bbed7..37b68766e26d8459d7c9957bb0213b4b44e65225 100644
--- a/ui/views/controls/button/md_text_button.cc
+++ b/ui/views/controls/button/md_text_button.cc
@@ -267,7 +267,7 @@ void MdTextButton::UpdateColors() {
? theme->GetSystemColor(ui::NativeTheme::kColorId_CallToActionColor)
: is_default()
sky 2016/07/26 13:31:11 Holy ternary operators Batman!
? color_utils::BlendTowardOppositeLuma(text_color, 0xD8)
- : SK_ColorTRANSPARENT;
+ : SK_ColorWHITE;
const SkAlpha kStrokeOpacity = 0x1A;
SkColor stroke_color = (is_cta_ || color_utils::IsDark(text_color))
« 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