| 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 d91253dec6af569f228701c36f6e32d8a95e8080..c7dfd1782e31c71aa74c735b33300e99592b3960 100644
|
| --- a/chrome/browser/ui/webui/options/chromeos/system_settings_provider.cc
|
| +++ b/chrome/browser/ui/webui/options/chromeos/system_settings_provider.cc
|
| @@ -201,8 +201,7 @@ void SystemSettingsProvider::DoSet(const std::string& path, Value* in_value) {
|
|
|
| if (path == kSystemTimezone) {
|
| string16 value;
|
| - if (!in_value || !in_value->IsType(Value::TYPE_STRING) ||
|
| - !in_value->GetAsString(&value))
|
| + if (!in_value || !in_value->IsString() || !in_value->GetAsString(&value))
|
| return;
|
| const icu::TimeZone* timezone = GetTimezone(value);
|
| if (!timezone)
|
|
|