| Index: base/json/json_writer.cc
|
| diff --git a/base/json/json_writer.cc b/base/json/json_writer.cc
|
| index dbf43ec32f7a732c19b05a2e25f7752727deaeea..fa8f2398cbb8292b77c6ffddb68e51896543d349 100644
|
| --- a/base/json/json_writer.cc
|
| +++ b/base/json/json_writer.cc
|
| @@ -75,10 +75,10 @@ void JSONWriter::BuildJSONString(const Value* const node,
|
| break;
|
| }
|
|
|
| - case Value::TYPE_REAL:
|
| + case Value::TYPE_DOUBLE:
|
| {
|
| double value;
|
| - bool result = node->GetAsReal(&value);
|
| + bool result = node->GetAsDouble(&value);
|
| DCHECK(result);
|
| std::string real = DoubleToString(value);
|
| // Ensure that the number has a .0 if there's no decimal or 'e'. This
|
|
|