Index: base/json/json_parser.cc |
diff --git a/base/json/json_parser.cc b/base/json/json_parser.cc |
index d42b1a3d37e820f0ff3f1b6cfb00dde6e3be9fc8..e9a27bc1675da18970f90c5040a2c3b7820c8fbe 100644 |
--- a/base/json/json_parser.cc |
+++ b/base/json/json_parser.cc |
@@ -4,7 +4,8 @@ |
#include "base/json/json_parser.h" |
-#include "base/float_util.h" |
+#include <cmath> |
+ |
#include "base/logging.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/strings/string_number_conversions.h" |
@@ -872,7 +873,7 @@ Value* JSONParser::ConsumeNumber() { |
double num_double; |
if (base::StringToDouble(num_string.as_string(), &num_double) && |
- IsFinite(num_double)) { |
+ std::isfinite(num_double)) { |
return new FundamentalValue(num_double); |
} |