| Index: content/renderer/manifest/manifest_parser_unittest.cc
|
| diff --git a/content/renderer/manifest/manifest_parser_unittest.cc b/content/renderer/manifest/manifest_parser_unittest.cc
|
| index f98691c023ce4713fdd423e38e35533ee2268832..cc5d1feaa2848361d9cb8a2bc048d0e67ac44624 100644
|
| --- a/content/renderer/manifest/manifest_parser_unittest.cc
|
| +++ b/content/renderer/manifest/manifest_parser_unittest.cc
|
| @@ -31,7 +31,11 @@ class ManifestParserTest : public testing::Test {
|
| const GURL& manifest_url) {
|
| ManifestParser parser(data, document_url, manifest_url);
|
| parser.Parse();
|
| - errors_ = parser.errors();
|
| + errors_.clear();
|
| + for (const scoped_ptr<ManifestParser::ErrorInfo>& error_info :
|
| + parser.errors()) {
|
| + errors_.push_back(error_info->error_msg);
|
| + }
|
| return parser.manifest();
|
| }
|
|
|
|
|