| 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..edc9ac7b5973c826a7e8670ab4821774c8a2cc34 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 = full_path.AsAbsolute();
|
| + ASSERT_FALSE(fill_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 = full_path.AsAbsolute();
|
| + ASSERT_FALSE(full_path.empty());
|
|
|
| // test file in the subdir
|
| base::FilePath relative_file = sub_dir.Append(sub_file);
|
|
|