Index: components/ntp_snippets/content_suggestions_service.cc |
diff --git a/components/ntp_snippets/content_suggestions_service.cc b/components/ntp_snippets/content_suggestions_service.cc |
index 5b86d95762303e6662ad7e1569dad31efca147f0..3ce179f48df90fd5b6e6555960d86e1302e6e683 100644 |
--- a/components/ntp_snippets/content_suggestions_service.cc |
+++ b/components/ntp_snippets/content_suggestions_service.cc |
@@ -61,7 +61,7 @@ void ContentSuggestionsService::FetchSuggestionImage( |
ContentSuggestionsCategory category = id_category_map_[suggestion_id]; |
if (!providers_.count(category)) { |
LOG(WARNING) << "Requested image for suggestion " << suggestion_id |
- << " for unavailable category " << int(category); |
+ << " for unavailable category " << static_cast<int>(category); |
callback.Run(suggestion_id, gfx::Image()); |
return; |
} |
@@ -92,7 +92,7 @@ void ContentSuggestionsService::DiscardSuggestion( |
ContentSuggestionsCategory category = id_category_map_[suggestion_id]; |
if (!providers_.count(category)) { |
LOG(WARNING) << "Discarded suggestion " << suggestion_id |
- << " for unavailable category " << int(category); |
+ << " for unavailable category " << static_cast<int>(category); |
return; |
} |
providers_[category]->DiscardSuggestion(suggestion_id); |