Index: chrome/common/json_value_serializer.cc |
=================================================================== |
--- chrome/common/json_value_serializer.cc (revision 7536) |
+++ chrome/common/json_value_serializer.cc (working copy) |
@@ -23,7 +23,7 @@ |
Value* JSONStringValueSerializer::Deserialize(std::string* error_message) { |
if (!json_string_) |
- return false; |
+ return NULL; |
return JSONReader::ReadAndReturnError(*json_string_, allow_trailing_comma_, |
error_message); |
@@ -51,7 +51,7 @@ |
Value* JSONFileValueSerializer::Deserialize(std::string* error_message) { |
std::string json_string; |
if (!file_util::ReadFileToString(json_file_path_, &json_string)) { |
- return false; |
+ return NULL; |
} |
JSONStringValueSerializer serializer(json_string); |
return serializer.Deserialize(error_message); |