Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1454)

Unified Diff: webkit/glue/dom_serializer_unittest.cc

Issue 13196006: Move path functions from file_util to FilePath object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move AsAbsolute back out of FilePath Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698