Index: chrome/browser/ui/omnibox/chrome_omnibox_client.cc |
diff --git a/chrome/browser/ui/omnibox/chrome_omnibox_client.cc b/chrome/browser/ui/omnibox/chrome_omnibox_client.cc |
index 1b46d3317d07257fa5c2e3c360bc92de2865082b..322c6ee54d0f1d3f5a166c8c1973601808cdf9be 100644 |
--- a/chrome/browser/ui/omnibox/chrome_omnibox_client.cc |
+++ b/chrome/browser/ui/omnibox/chrome_omnibox_client.cc |
@@ -290,7 +290,7 @@ void ChromeOmniboxClient::OnResultChanged( |
const auto match = std::find_if( |
result.begin(), result.end(), |
- [](const AutocompleteMatch& current)->bool { return current.answer; }); |
+ [](const AutocompleteMatch& current) { return !!current.answer; }); |
if (match != result.end()) { |
BitmapFetcherService* image_service = |
BitmapFetcherServiceFactory::GetForBrowserContext(profile_); |