diff options
Diffstat (limited to 'chrome/browser/chromeos/settings/system_settings_provider.cc')
-rw-r--r-- | chrome/browser/chromeos/settings/system_settings_provider.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/settings/system_settings_provider.cc b/chrome/browser/chromeos/settings/system_settings_provider.cc index 54e873e..75a8656 100644 --- a/chrome/browser/chromeos/settings/system_settings_provider.cc +++ b/chrome/browser/chromeos/settings/system_settings_provider.cc @@ -21,7 +21,7 @@ SystemSettingsProvider::SystemSettingsProvider( system::TimezoneSettings *timezone_settings = system::TimezoneSettings::GetInstance(); timezone_settings->AddObserver(this); - timezone_value_.reset(new base::StringValue( + timezone_value_.reset(base::Value::CreateStringValue( timezone_settings->GetCurrentTimezoneID())); } @@ -62,7 +62,7 @@ bool SystemSettingsProvider::HandlesSetting(const std::string& path) const { void SystemSettingsProvider::TimezoneChanged(const icu::TimeZone& timezone) { // Fires system setting change notification. - timezone_value_.reset(new base::StringValue( + timezone_value_.reset(base::Value::CreateStringValue( system::TimezoneSettings::GetTimezoneID(timezone))); NotifyObservers(kSystemTimezone); } |