Index: chrome/installer/util/install_util.cc |
diff --git a/chrome/installer/util/install_util.cc b/chrome/installer/util/install_util.cc |
index b07d1a479a10da980d29a86764bac93790f67a10..c3e32d92e7d68aaae4169455b9aadc1830f674d0 100644 |
--- a/chrome/installer/util/install_util.cc |
+++ b/chrome/installer/util/install_util.cc |
@@ -12,13 +12,13 @@ |
#include <shlwapi.h> |
#include <algorithm> |
+#include <memory> |
#include "base/command_line.h" |
#include "base/environment.h" |
#include "base/files/file_util.h" |
#include "base/logging.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/numerics/safe_conversions.h" |
#include "base/path_service.h" |
#include "base/process/launch.h" |
@@ -361,7 +361,7 @@ void InstallUtil::UpdateInstallerStage(bool system_install, |
} |
bool InstallUtil::IsPerUserInstall(const base::FilePath& exe_path) { |
- scoped_ptr<base::Environment> env(base::Environment::Create()); |
+ std::unique_ptr<base::Environment> env(base::Environment::Create()); |
static const char kEnvProgramFilesPath[] = "CHROME_PROBED_PROGRAM_FILES_PATH"; |
std::string env_program_files_path; |