Index: base/json/json_parser.cc |
diff --git a/base/json/json_parser.cc b/base/json/json_parser.cc |
index d1bba4464b1dfd6ee6d9f891bca8312b8c09adb3..10f1203eb40509520ae681f04917e7e808bf288f 100644 |
--- a/base/json/json_parser.cc |
+++ b/base/json/json_parser.cc |
@@ -542,9 +542,6 @@ Value* JSONParser::ConsumeDictionary() { |
} |
} |
- if (token != T_OBJECT_END) |
- return NULL; |
- |
return dict.release(); |
} |
@@ -588,9 +585,6 @@ Value* JSONParser::ConsumeList() { |
} |
} |
- if (token != T_ARRAY_END) |
- return NULL; |
- |
return list.release(); |
} |