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

Unified Diff: ui/native_theme/native_theme_aura.cc

Issue 2290743002: Partial revert of https://codereview.chromium.org/1911973002/ (Closed)
Patch Set: . Created 4 years, 4 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: ui/native_theme/native_theme_aura.cc
diff --git a/ui/native_theme/native_theme_aura.cc b/ui/native_theme/native_theme_aura.cc
index 74edcd558c8bb44cc6621c3f100e4a6b58e3f93a..b6f47d402f4dc490dfe68bef799182ec07f9ac7e 100644
--- a/ui/native_theme/native_theme_aura.cc
+++ b/ui/native_theme/native_theme_aura.cc
@@ -67,7 +67,6 @@ const SkColor kTrackColor = SkColorSetRGB(0xF1, 0xF1, 0xF1);
} // namespace
-#if !defined(OS_WIN)
// static
NativeTheme* NativeTheme::GetInstanceForWeb() {
return NativeThemeAura::instance();
@@ -78,7 +77,6 @@ NativeThemeAura* NativeThemeAura::instance() {
CR_DEFINE_STATIC_LOCAL(NativeThemeAura, s_native_theme, ());
return &s_native_theme;
}
-#endif
NativeThemeAura::NativeThemeAura() {
// We don't draw scrollbar buttons.

Powered by Google App Engine
This is Rietveld 408576698