Commit 80ca2cba authored by Jochen Eisinger's avatar Jochen Eisinger Committed by Commit Bot

Show Google icon for Google search in touchbar

I accidentally deleted the else which led to always using the
search icon.

Bug: 1066568
Change-Id: I872989d4f0ecb66be1b1f967a092caa58c44ed7e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2130250
Commit-Queue: Jochen Eisinger <jochen@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#755055}
parent 2ddd4c44
...@@ -501,6 +501,7 @@ class API_AVAILABLE(macos(10.12.2)) TouchBarNotificationBridge ...@@ -501,6 +501,7 @@ class API_AVAILABLE(macos(10.12.2)) TouchBarNotificationBridge
gfx::CreateVectorIcon(kGoogleGLogoIcon, kTouchBarIconSize, gfx::CreateVectorIcon(kGoogleGLogoIcon, kTouchBarIconSize,
gfx::kPlaceholderColor), gfx::kPlaceholderColor),
base::mac::GetSRGBColorSpace()); base::mac::GetSRGBColorSpace());
} else {
image = CreateNSImageFromIcon(vector_icons::kSearchIcon); image = CreateNSImageFromIcon(vector_icons::kSearchIcon);
} }
#endif #endif
......
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