Index: chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc |
diff --git a/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc b/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc |
index ba709bee19430cfb33b7ab45b4d08c76095b4200..9c49727c20695c5eca742550597bbe8bad110013 100644 |
--- a/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc |
+++ b/chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc |
@@ -248,17 +248,10 @@ SkColor NativeThemeGtk2::GetSystemColor(ColorId color_id) const { |
return GetTextAAColor(GetEntry(), NORMAL); |
// MenuItem |
-#if GTK_MAJOR_VERSION == 2 |
case kColorId_SelectedMenuItemForegroundColor: |
return GetTextColor(GetMenuItem(), SELECTED); |
case kColorId_FocusedMenuItemBackgroundColor: |
return GetBGColor(GetMenuItem(), SELECTED); |
-#else |
- case kColorId_SelectedMenuItemForegroundColor: |
- return GetTextColor(GetMenuItem(), PRELIGHT); |
- case kColorId_FocusedMenuItemBackgroundColor: |
- return GetBGColor(GetMenuItem(), PRELIGHT); |
-#endif |
case kColorId_EnabledMenuItemForegroundColor: |
return GetTextColor(GetMenuItem(), NORMAL); |