diff options
Diffstat (limited to 'chrome/browser/component_updater/component_unpacker.cc')
-rw-r--r-- | chrome/browser/component_updater/component_unpacker.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/component_updater/component_unpacker.cc b/chrome/browser/component_updater/component_unpacker.cc index 5541a9b..789049a 100644 --- a/chrome/browser/component_updater/component_unpacker.cc +++ b/chrome/browser/component_updater/component_unpacker.cc @@ -146,8 +146,8 @@ ComponentUnpacker::ComponentUnpacker(const std::vector<uint8>& pk_hash, error_ = kInvalidId; return; } - if (!file_util::CreateNewTempDirectory(FILE_PATH_LITERAL(""), - &unpack_path_)) { + if (!base::CreateNewTempDirectory(base::FilePath::StringType(), + &unpack_path_)) { error_ = kUnzipPathError; return; } @@ -155,8 +155,8 @@ ComponentUnpacker::ComponentUnpacker(const std::vector<uint8>& pk_hash, // We want a different temp directory for the delta files; we'll put the // patch output into unpack_path_. base::FilePath unpack_diff_path; - if (!file_util::CreateNewTempDirectory(FILE_PATH_LITERAL(""), - &unpack_diff_path)) { + if (!base::CreateNewTempDirectory(base::FilePath::StringType(), + &unpack_diff_path)) { error_ = kUnzipPathError; return; } |