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

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

Issue 1461923002: Change name of NativeTheme::instance() to make it clear it's web only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NATIVE_THEME_EXPORT for mac Created 5 years, 1 month 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/combobox/combobox.cc ('k') | ui/views/controls/link.cc » ('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 43dafe649e284f35b120ab103e40be2ff39cb952..39dd95464ebf31523a8b0b83047f9681da2dde22 100644
--- a/ui/views/controls/label.cc
+++ b/ui/views/controls/label.cc
@@ -404,7 +404,7 @@ void Label::Init(const base::string16& text, const gfx::FontList& font_list) {
subpixel_rendering_enabled_ = true;
auto_color_readability_ = true;
multi_line_ = false;
- UpdateColorsFromTheme(ui::NativeTheme::instance());
+ UpdateColorsFromTheme(GetNativeTheme());
handles_tooltips_ = true;
collapse_when_hidden_ = false;
max_width_ = 0;
« no previous file with comments | « ui/views/controls/combobox/combobox.cc ('k') | ui/views/controls/link.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698