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/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: 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
Index: ui/views/controls/label.cc
diff --git a/ui/views/controls/label.cc b/ui/views/controls/label.cc
index 43dafe649e284f35b120ab103e40be2ff39cb952..ddafe4c212971aeaf54ec54e2af73283502285b0 100644
--- a/ui/views/controls/label.cc
+++ b/ui/views/controls/label.cc
@@ -404,7 +404,6 @@ 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());
handles_tooltips_ = true;
collapse_when_hidden_ = false;
max_width_ = 0;

Powered by Google App Engine
This is Rietveld 408576698