Commit ee7b0b18 authored by Allen Bauer's avatar Allen Bauer Committed by Commit Bot

Make sure the close (X) on the Cocoa tab is white when highlighted.

Bug: 839534
Change-Id: I7242753e5777b15168ba8a0ff91a000a8a16c980
Reviewed-on: https://chromium-review.googlesource.com/1042624Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
Commit-Queue: Allen Bauer <kylixrd@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555885}
parent d6679a3f
......@@ -172,8 +172,9 @@ const SkColor kDefaultIconColor = SkColorSetARGB(0xA0, 0x00, 0x00, 0x00);
break;
}
const gfx::ImageSkia& iconImage = gfx::CreateVectorIcon(
kTabCloseNormalIcon, kTabCloseButtonSize, iconColor_);
const gfx::ImageSkia& iconImage =
gfx::CreateVectorIcon(kTabCloseNormalIcon, kTabCloseButtonSize,
vectorHighlightIcon ? SK_ColorWHITE : iconColor_);
if (vectorHighlightIcon) {
const gfx::ImageSkia& highlight = gfx::CreateVectorIcon(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment