| Index: chrome/browser/ui/webui/options/chromeos/system_settings_provider.cc
|
| diff --git a/chrome/browser/ui/webui/options/chromeos/system_settings_provider.cc b/chrome/browser/ui/webui/options/chromeos/system_settings_provider.cc
|
| index 3939ab6a7f741aa3eec9cf79da43d69b8ed1417b..ee5dafa485052c6a7f51a608930ab0f1fcacabce 100644
|
| --- a/chrome/browser/ui/webui/options/chromeos/system_settings_provider.cc
|
| +++ b/chrome/browser/ui/webui/options/chromeos/system_settings_provider.cc
|
| @@ -194,15 +194,15 @@ SystemSettingsProvider::~SystemSettingsProvider() {
|
| STLDeleteElements(&timezones_);
|
| }
|
|
|
| -void SystemSettingsProvider::DoSet(const std::string& path, Value* in_value) {
|
| +void SystemSettingsProvider::DoSet(const std::string& path,
|
| + const base::Value& in_value) {
|
| // Non-guest users can change the time zone.
|
| if (UserManager::Get()->IsLoggedInAsGuest())
|
| return;
|
|
|
| if (path == kSystemTimezone) {
|
| string16 value;
|
| - if (!in_value || !in_value->IsType(Value::TYPE_STRING) ||
|
| - !in_value->GetAsString(&value))
|
| + if (!in_value.IsType(Value::TYPE_STRING) || !in_value.GetAsString(&value))
|
| return;
|
| const icu::TimeZone* timezone = GetTimezone(value);
|
| if (!timezone)
|
|
|