Index: url/url_canon_unittest.cc |
diff --git a/url/url_canon_unittest.cc b/url/url_canon_unittest.cc |
index f6cd3a207e1e5ab105b95849969518faf584ca15..d020e481258618d1d79e35d62e5f356594eacca4 100644 |
--- a/url/url_canon_unittest.cc |
+++ b/url/url_canon_unittest.cc |
@@ -1700,6 +1700,7 @@ TEST(URLCanonTest, CanonicalizePathURL) { |
{"javascript:", "javascript:"}, |
{"JavaScript:Foo", "javascript:Foo"}, |
{":\":This /is interesting;?#", ":\":This /is interesting;?#"}, |
+ {"data:text/html, one ? two # ", "data:text/html, one ? two #"}, |
}; |
for (size_t i = 0; i < ARRAYSIZE(path_cases); i++) { |
@@ -1723,8 +1724,8 @@ TEST(URLCanonTest, CanonicalizePathURL) { |
// When we end with a colon at the end, there should be no path. |
if (path_cases[i].input[url_len - 1] == ':') { |
- EXPECT_EQ(0, out_parsed.path.begin); |
- EXPECT_EQ(-1, out_parsed.path.len); |
+ EXPECT_EQ(0, out_parsed.Content().begin); |
+ EXPECT_EQ(-1, out_parsed.Content().len); |
} |
} |
} |