Index: webkit/glue/dom_serializer_unittest.cc |
diff --git a/webkit/glue/dom_serializer_unittest.cc b/webkit/glue/dom_serializer_unittest.cc |
index d043bd0e33552d5234181e89118fe6d7005c54ea..dd12e4bc57d513b39e403bf17272d60e440710a2 100644 |
--- a/webkit/glue/dom_serializer_unittest.cc |
+++ b/webkit/glue/dom_serializer_unittest.cc |
@@ -678,8 +678,8 @@ TEST_F(DomSerializerTests, SerializeHTMLDOMWithBaseTag) { |
// There are total 2 available base tags in this test file. |
const int kTotalBaseTagCountInTestFile = 2; |
- base::FilePath page_file_path = data_dir_.AppendASCII("dom_serializer"); |
- file_util::EnsureEndsWithSeparator(&page_file_path); |
+ base::FilePath page_file_path = |
+ data_dir_.AppendASCII("dom_serializer").AsEndingWithSeparator(); |
// Get page dir URL which is base URL of this file. |
GURL path_dir_url = net::FilePathToFileURL(page_file_path); |