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 ec192d2352b0c246e57c430b1210cdd97fbd0c1c..3f71613f9bd89379712081d6d5b5373a930ef829 100644 |
--- a/ui/native_theme/native_theme_aura.cc |
+++ b/ui/native_theme/native_theme_aura.cc |
@@ -67,12 +67,14 @@ const int kScrollbarTrackImages[9] = IMAGE_GRID(IDR_SCROLLBAR_BASE); |
} // namespace |
-#if !defined(OS_WIN) |
+#if !defined(OS_WIN) && !defined(OS_MACOSX) |
// static |
NativeTheme* NativeTheme::instance() { |
return NativeThemeAura::instance(); |
} |
+#endif |
+#if !defined(OS_WIN) |
// static |
NativeThemeAura* NativeThemeAura::instance() { |
CR_DEFINE_STATIC_LOCAL(NativeThemeAura, s_native_theme, ()); |