Index: chrome/browser/themes/theme_service.cc |
diff --git a/chrome/browser/themes/theme_service.cc b/chrome/browser/themes/theme_service.cc |
index 6a90368a5a7e97893674500be6a4c185bdde5031..49a39666b3a79a6cbfaed8f242b72641724bf082 100644 |
--- a/chrome/browser/themes/theme_service.cc |
+++ b/chrome/browser/themes/theme_service.cc |
@@ -32,10 +32,6 @@ |
#include "ui/base/win/shell.h" |
#endif |
-#if defined(USE_AURA) && !defined(USE_ASH) && defined(OS_LINUX) |
-#include "ui/linux_ui/linux_ui.h" |
-#endif |
- |
using content::BrowserThread; |
using content::UserMetricsAction; |
using extensions::Extension; |
@@ -108,12 +104,6 @@ gfx::Image ThemeService::GetImageNamed(int id) const { |
if (theme_pack_.get()) |
image = theme_pack_->GetImageNamed(id); |
-#if defined(USE_AURA) && !defined(USE_ASH) && defined(OS_LINUX) |
- const ui::LinuxUI* linux_ui = ui::LinuxUI::instance(); |
- if (image.IsEmpty() && linux_ui) |
- image = linux_ui->GetThemeImageNamed(id); |
-#endif |
- |
if (image.IsEmpty()) |
image = rb_.GetNativeImageNamed(id); |
@@ -136,12 +126,6 @@ SkColor ThemeService::GetColor(int id) const { |
if (theme_pack_.get() && theme_pack_->GetColor(id, &color)) |
return color; |
-#if defined(USE_AURA) && !defined(USE_ASH) && defined(OS_LINUX) |
- const ui::LinuxUI* linux_ui = ui::LinuxUI::instance(); |
- if (linux_ui && linux_ui->GetColor(id, &color)) |
- return color; |
-#endif |
- |
// For backward compat with older themes, some newer colors are generated from |
// older ones if they are missing. |
switch (id) { |