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

Unified Diff: ash/accelerators/exit_warning_handler.cc

Issue 2910153002: Remove views::Label::SetDisabledColor(). Replace with typography colors. (Closed)
Patch Set: rebase for r476345 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
Index: ash/accelerators/exit_warning_handler.cc
diff --git a/ash/accelerators/exit_warning_handler.cc b/ash/accelerators/exit_warning_handler.cc
index 747a41358c0f7cb7685e507860047fee7eefd826..e240ec0fa7c53778c3e9c3e0ca365af086fe7bda 100644
--- a/ash/accelerators/exit_warning_handler.cc
+++ b/ash/accelerators/exit_warning_handler.cc
@@ -57,7 +57,6 @@ class ExitWarningWidgetDelegateView : public views::WidgetDelegateView {
label->SetHorizontalAlignment(gfx::ALIGN_CENTER);
label->SetFontList(font_list);
label->SetEnabledColor(kTextColor);
- label->SetDisabledColor(kTextColor);
label->SetAutoColorReadabilityEnabled(false);
label->SetSubpixelRenderingEnabled(false);
AddChildView(label);

Powered by Google App Engine
This is Rietveld 408576698