Update the color of Incognito Menu's Icon.

Incognito menu's color is modified to primary text color to ensure
contrast with menu background.

Bug: 896235
Change-Id: I96c31f2326bb249c5e5af9a42dd8944481eef281
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1482451
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Reviewed-by: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#637619}
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
index bab25e8..ae6b3a2 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
@@ -524,8 +524,10 @@
   int incognito_window_count =
       BrowserList::GetIncognitoSessionsActiveForProfile(browser()->profile());
   auto incognito_icon = std::make_unique<views::ImageView>();
-  const SkColor icon_color = ThemeProperties::GetDefaultColor(
-      ThemeProperties::COLOR_TOOLBAR, true /* incognito */);
+  // The icon color is set to match the menu text, which guarantees sufficient
+  // contrast and a consistent visual appearance..
+  const SkColor icon_color = provider->GetTypographyProvider().GetColor(
+      *this, views::style::CONTEXT_LABEL, views::style::STYLE_PRIMARY);
   incognito_icon->SetImage(
       gfx::CreateVectorIcon(kIncognitoProfileIcon, icon_color));