Index: ui/app_list/views/tile_item_view.cc |
diff --git a/ui/app_list/views/tile_item_view.cc b/ui/app_list/views/tile_item_view.cc |
index 5e8d43f4bc1d6e26e1bb819d40fca41136da8f2e..408bb229535a0b437eb97d217efc4397066188a1 100644 |
--- a/ui/app_list/views/tile_item_view.cc |
+++ b/ui/app_list/views/tile_item_view.cc |
@@ -11,7 +11,6 @@ |
#include "ui/app_list/app_list_view_delegate.h" |
#include "ui/app_list/search_result.h" |
#include "ui/app_list/views/app_list_main_view.h" |
-#include "ui/base/resource/resource_bundle.h" |
#include "ui/gfx/canvas.h" |
#include "ui/gfx/color_analysis.h" |
#include "ui/gfx/color_utils.h" |
@@ -24,14 +23,6 @@ |
const int kTileSize = 90; |
const int kTileHorizontalPadding = 10; |
- |
-// In Windows, transparent background color will cause ugly text rendering, |
-// therefore kContentsBackgroundColor should be used. See crbug.com/406989 |
-#if defined(OS_CHROMEOS) |
-const SkColor kTitleBackgroundColor = SK_ColorTRANSPARENT; |
-#else |
-const SkColor kTitleBackgroundColor = app_list::kContentsBackgroundColor; |
-#endif |
} // namespace |
@@ -54,7 +45,7 @@ |
title_->SetAutoColorReadabilityEnabled(false); |
title_->SetEnabledColor(kGridTitleColor); |
title_->set_background(views::Background::CreateSolidBackground( |
- kTitleBackgroundColor)); |
+ app_list::kContentsBackgroundColor)); |
title_->SetFontList(rb.GetFontList(kItemTextFontStyle)); |
title_->SetHorizontalAlignment(gfx::ALIGN_CENTER); |