Index: chrome/browser/themes/theme_service_aurax11.cc |
diff --git a/chrome/browser/themes/theme_service_aurax11.cc b/chrome/browser/themes/theme_service_aurax11.cc |
index 1e596e32dad0bbbb96e77acdebf40c7f955eac76..b9313d5bee4a23fe1cd759db428989d98171a32d 100644 |
--- a/chrome/browser/themes/theme_service_aurax11.cc |
+++ b/chrome/browser/themes/theme_service_aurax11.cc |
@@ -41,16 +41,10 @@ NativeThemeX11::NativeThemeX11(PrefService* pref_service) |
pref_service_(pref_service) {} |
void NativeThemeX11::StartUsingTheme() { |
- if (linux_ui_) |
- linux_ui_->SetUseSystemTheme(true); |
- |
pref_service_->SetBoolean(prefs::kUsesSystemTheme, true); |
} |
void NativeThemeX11::StopUsingTheme() { |
- if (linux_ui_) |
- linux_ui_->SetUseSystemTheme(false); |
- |
pref_service_->SetBoolean(prefs::kUsesSystemTheme, false); |
} |