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

Unified Diff: ui/views/controls/label.cc

Issue 2382443007: Clean up NativeTheme (particularly CommonTheme). (Closed)
Patch Set: share color constant Created 4 years, 2 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 | « ui/views/controls/button/label_button_unittest.cc ('k') | ui/views/controls/menu/menu_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/label.cc
diff --git a/ui/views/controls/label.cc b/ui/views/controls/label.cc
index 46f86389f1503139bcf9d448ef887919c0f91ba7..0c4667dad17cab28ccb7493022d918842fb7fa85 100644
--- a/ui/views/controls/label.cc
+++ b/ui/views/controls/label.cc
@@ -596,8 +596,8 @@ void Label::UpdateColorsFromTheme(const ui::NativeTheme* theme) {
ui::NativeTheme::kColorId_LabelDisabledColor);
}
if (!background_color_set_) {
- background_color_ = theme->GetSystemColor(
- ui::NativeTheme::kColorId_LabelBackgroundColor);
+ background_color_ =
+ theme->GetSystemColor(ui::NativeTheme::kColorId_DialogBackground);
}
RecalculateColors();
}
« no previous file with comments | « ui/views/controls/button/label_button_unittest.cc ('k') | ui/views/controls/menu/menu_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698