Index: base/sys_info_chromeos.cc |
diff --git a/base/sys_info_chromeos.cc b/base/sys_info_chromeos.cc |
index e35bd0a5907c8e598d7f49fd80122e56436fc47c..3794ed96c6b924b44da8853f403c1250d6b7daec 100644 |
--- a/base/sys_info_chromeos.cc |
+++ b/base/sys_info_chromeos.cc |
@@ -60,7 +60,7 @@ class ChromeOSVersionInfo { |
is_running_on_chromeos_ = false; |
std::string lsb_release, lsb_release_time_str; |
- scoped_ptr<Environment> env(Environment::Create()); |
+ std::unique_ptr<Environment> env(Environment::Create()); |
bool parsed_from_env = |
env->GetVar(kLsbReleaseKey, &lsb_release) && |
env->GetVar(kLsbReleaseTimeKey, &lsb_release_time_str); |
@@ -212,7 +212,7 @@ bool SysInfo::IsRunningOnChromeOS() { |
// static |
void SysInfo::SetChromeOSVersionInfoForTest(const std::string& lsb_release, |
const Time& lsb_release_time) { |
- scoped_ptr<Environment> env(Environment::Create()); |
+ std::unique_ptr<Environment> env(Environment::Create()); |
env->SetVar(kLsbReleaseKey, lsb_release); |
env->SetVar(kLsbReleaseTimeKey, |
DoubleToString(lsb_release_time.ToDoubleT())); |