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

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

Issue 2785973004: Add call to Label::OnNativeThemeChagned() from views::Link (Closed)
Patch Set: Add call to Label::OnNativeThemeChagned() Created 3 years, 8 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/link.cc
diff --git a/ui/views/controls/link.cc b/ui/views/controls/link.cc
index bd8e65f19b899035e29f12399c4ad0be905c73a0..4951349fe0427780e088700ef1adc1d1e584364b 100644
--- a/ui/views/controls/link.cc
+++ b/ui/views/controls/link.cc
@@ -167,6 +167,7 @@ void Link::SetText(const base::string16& text) {
}
void Link::OnNativeThemeChanged(const ui::NativeTheme* theme) {
+ Label::OnNativeThemeChanged(theme);
Label::SetEnabledColor(GetEnabledColor());
SetDisabledColor(
theme->GetSystemColor(ui::NativeTheme::kColorId_LinkDisabled));
« 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