diff options
Diffstat (limited to 'base/json_writer.cc')
-rw-r--r-- | base/json_writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/json_writer.cc b/base/json_writer.cc index 4782eb55b..0da2925 100644 --- a/base/json_writer.cc +++ b/base/json_writer.cc @@ -58,7 +58,7 @@ void JSONWriter::BuildJSONString(const Value* const node, int depth) { double value; bool result = node->GetAsReal(&value); DCHECK(result); - std::string real = base::DoubleToString(value, base::LOCALE_INDEPENDENT); + std::string real = DoubleToString(value); // Ensure that the number has a .0 if there's no decimal or 'e'. This // makes sure that when we read the JSON back, it's interpreted as a // real rather than an int. |