Index: base/json/json_string_value_serializer.cc |
diff --git a/base/json/json_string_value_serializer.cc b/base/json/json_string_value_serializer.cc |
index 7611fbeed654229cc45bdd0776fe4cb17c180831..59f030dff2fd52418333218bcaeb3868295994be 100644 |
--- a/base/json/json_string_value_serializer.cc |
+++ b/base/json/json_string_value_serializer.cc |
@@ -32,8 +32,7 @@ bool JSONStringValueSerializer::SerializeInternal(const Value& root, |
if (pretty_print_) |
options |= base::JSONWriter::OPTIONS_PRETTY_PRINT; |
- base::JSONWriter::WriteWithOptions(&root, options, json_string_); |
- return true; |
+ return base::JSONWriter::WriteWithOptions(&root, options, json_string_); |
} |
Value* JSONStringValueSerializer::Deserialize(int* error_code, |