Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index 447923012533b66abfa820199a6c50a91dc66403..c648afc6afc46920765fd7dab3bf10dd4d6b7eb9 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -364,7 +364,7 @@ void InitializeUserDataDir() { |
// support the virtual desktop use-case. |
if (user_data_dir.empty()) { |
std::string user_data_dir_string; |
- scoped_ptr<base::Environment> environment(base::Environment::Create()); |
+ std::unique_ptr<base::Environment> environment(base::Environment::Create()); |
if (environment->GetVar("CHROME_USER_DATA_DIR", &user_data_dir_string) && |
base::IsStringUTF8(user_data_dir_string)) { |
user_data_dir = base::FilePath::FromUTF8Unsafe(user_data_dir_string); |