Index: chrome/browser/net/url_fixer_upper_unittest.cc |
diff --git a/chrome/browser/net/url_fixer_upper_unittest.cc b/chrome/browser/net/url_fixer_upper_unittest.cc |
index cdfd77a55fa9c22f1d6d3f346030f463a00bd6ff..9f03d7a97a1eab1c7efcb3f8d35cb66d1857a029 100644 |
--- a/chrome/browser/net/url_fixer_upper_unittest.cc |
+++ b/chrome/browser/net/url_fixer_upper_unittest.cc |
@@ -468,7 +468,8 @@ TEST(URLFixerUpperTest, FixupRelativeFile) { |
FILE_PATH_LITERAL("url_fixer_upper_existing_file.txt")); |
ASSERT_TRUE(PathService::Get(chrome::DIR_APP, &dir)); |
ASSERT_TRUE(MakeTempFile(dir, file_part, &full_path)); |
- ASSERT_TRUE(file_util::AbsolutePath(&full_path)); |
+ full_path = base::MakeAbsoluteFilePath(full_path); |
+ ASSERT_FALSE(full_path.empty()); |
// make sure we pass through good URLs |
for (size_t i = 0; i < arraysize(fixup_cases); ++i) { |
@@ -506,7 +507,8 @@ TEST(URLFixerUpperTest, FixupRelativeFile) { |
base::FilePath new_dir = dir.Append(sub_dir); |
file_util::CreateDirectory(new_dir); |
ASSERT_TRUE(MakeTempFile(new_dir, sub_file, &full_path)); |
- ASSERT_TRUE(file_util::AbsolutePath(&full_path)); |
+ full_path = base::MakeAbsoluteFilePath(full_path); |
+ ASSERT_FALSE(full_path.empty()); |
// test file in the subdir |
base::FilePath relative_file = sub_dir.Append(sub_file); |