Index: components/ntp_snippets/remote/ntp_snippets_fetcher.cc |
diff --git a/components/ntp_snippets/remote/ntp_snippets_fetcher.cc b/components/ntp_snippets/remote/ntp_snippets_fetcher.cc |
index 2ea5b5a6a41d87c3ee8379e63ac364b9473b83b6..a4f558cc07e3c7a6039f67c583a56d8aa16e29ce 100644 |
--- a/components/ntp_snippets/remote/ntp_snippets_fetcher.cc |
+++ b/components/ntp_snippets/remote/ntp_snippets_fetcher.cc |
@@ -156,12 +156,12 @@ bool IsSendingUserClassEnabled() { |
} |
bool UsesChromeContentSuggestionsAPI(const GURL& endpoint) { |
- if (endpoint == GURL(kChromeReaderServer)) |
+ if (endpoint == kChromeReaderServer) |
return false; |
- if (endpoint != GURL(kContentSuggestionsServer) && |
- endpoint != GURL(kContentSuggestionsStagingServer) && |
- endpoint != GURL(kContentSuggestionsAlphaServer)) { |
+ if (endpoint != kContentSuggestionsServer && |
+ endpoint != kContentSuggestionsStagingServer && |
+ endpoint != kContentSuggestionsAlphaServer) { |
LOG(WARNING) << "Unknown value for " << kContentSuggestionsBackend << ": " |
<< "assuming chromecontentsuggestions-style API"; |
} |