| 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 a2d12554fabe47faaac556f47ac0733f2fa65d6e..6c4eab9dfe2b451e8679bed3c563cdbe73f12c14 100644
|
| --- a/content/renderer/manifest/manifest_parser_unittest.cc
|
| +++ b/content/renderer/manifest/manifest_parser_unittest.cc
|
| @@ -71,9 +71,9 @@ const GURL ManifestParserTest::default_manifest_url(
|
|
|
| TEST_F(ManifestParserTest, CrashTest) {
|
| // Passing temporary variables should not crash.
|
| - ManifestParser parser("{\"start_url\": \"/\"}",
|
| - GURL("http://example.com"),
|
| - GURL("http://example.com"));
|
| + const base::StringPiece json = "{\"start_url\": \"/\"}";
|
| + GURL url("http://example.com");
|
| + ManifestParser parser(json, url, url);
|
| parser.Parse();
|
| std::vector<ManifestDebugInfo::Error> errors;
|
| parser.TakeErrors(&errors);
|
|
|