Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3162)

Unified Diff: chrome/browser/ui/webui/engagement/site_engagement_ui.cc

Issue 1853263002: Replace free isnan with std::isnan (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/engagement/site_engagement_ui.cc
diff --git a/chrome/browser/ui/webui/engagement/site_engagement_ui.cc b/chrome/browser/ui/webui/engagement/site_engagement_ui.cc
index d53fe7aab36f824aadf4811fbdccf20c0a040281..e14a273c03216ff25425ff1667bf11a869bf4196 100644
--- a/chrome/browser/ui/webui/engagement/site_engagement_ui.cc
+++ b/chrome/browser/ui/webui/engagement/site_engagement_ui.cc
@@ -55,7 +55,7 @@ class SiteEngagementUIHandlerImpl : public SiteEngagementUIHandler {
double score) override {
GURL origin_gurl(origin.get());
if (!origin_gurl.is_valid() || score < 0 ||
- score > SiteEngagementScore::kMaxPoints || isnan(score)) {
+ score > SiteEngagementScore::kMaxPoints || std::isnan(score)) {
return;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698