Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3460)

Unified Diff: chrome/browser/themes/theme_service.cc

Issue 1354823002: Render the tab close button as a vector-based icon. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comment Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/themes/theme_service.cc
diff --git a/chrome/browser/themes/theme_service.cc b/chrome/browser/themes/theme_service.cc
index 59e32eff292a789b7081f93be8961b454630b0cf..17522dc1433b82cae6d376889b6fc97da372180e 100644
--- a/chrome/browser/themes/theme_service.cc
+++ b/chrome/browser/themes/theme_service.cc
@@ -231,14 +231,6 @@ SkColor ThemeService::GetColor(int id) const {
return IncreaseLightness(GetColor(Properties::COLOR_NTP_TEXT), 0.86);
case Properties::COLOR_NTP_TEXT_LIGHT:
return IncreaseLightness(GetColor(Properties::COLOR_NTP_TEXT), 0.40);
- case Properties::COLOR_TAB_ICON: {
- SkColor base_color;
- bool found_color = ui::CommonThemeGetSystemColor(
- ui::NativeTheme::kColorId_ChromeIconGrey, &base_color);
- DCHECK(found_color);
- color_utils::HSL hsl = GetTint(Properties::TINT_BUTTONS);
- return color_utils::HSLShift(base_color, hsl);
- }
case Properties::COLOR_THROBBER_SPINNING:
case Properties::COLOR_THROBBER_WAITING: {
SkColor base_color;

Powered by Google App Engine
This is Rietveld 408576698