| Index: chrome/common/extensions/extension_file_util_unittest.cc
|
| diff --git a/chrome/common/extensions/extension_file_util_unittest.cc b/chrome/common/extensions/extension_file_util_unittest.cc
|
| index cb9260f49939cf66823294c659a3b82ef478fe00..fc74de4c8a29aae6775f6cfd097bea2d2351e74d 100644
|
| --- a/chrome/common/extensions/extension_file_util_unittest.cc
|
| +++ b/chrome/common/extensions/extension_file_util_unittest.cc
|
| @@ -303,9 +303,10 @@ TEST_F(ExtensionFileUtilTest, ExtensionURLToRelativeFilePath) {
|
| TEST_F(ExtensionFileUtilTest, ExtensionResourceURLToFilePath) {
|
| // Setup filesystem for testing.
|
| base::FilePath root_path;
|
| - ASSERT_TRUE(file_util::CreateNewTempDirectory(
|
| - FILE_PATH_LITERAL(""), &root_path));
|
| - ASSERT_TRUE(file_util::AbsolutePath(&root_path));
|
| + ASSERT_TRUE(file_util::CreateNewTempDirectory(FILE_PATH_LITERAL(""),
|
| + &root_path));
|
| + root_path = base::MakeAbsoluteFilePath(root_path);
|
| + ASSERT_FALSE(root_path.empty());
|
|
|
| base::FilePath api_path = root_path.Append(FILE_PATH_LITERAL("apiname"));
|
| ASSERT_TRUE(file_util::CreateDirectory(api_path));
|
|
|