| Index: chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc
|
| diff --git a/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc b/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc
|
| index 08710f2bfd10fac827b80b7e724ee44d115f4075..cc8ca0e2752945b7b8ef8fa872df4ab6dbc6af8c 100644
|
| --- a/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc
|
| +++ b/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc
|
| @@ -394,7 +394,8 @@ bool CellularConfigDocument::LoadFromFile(const FilePath& config_path) {
|
| if (!file_util::ReadFileToString(config_path, &config))
|
| return false;
|
|
|
| - scoped_ptr<Value> root(base::JSONReader::Read(config, true));
|
| + scoped_ptr<Value> root(
|
| + base::JSONReader::Read(config, base::JSON_ALLOW_TRAILING_COMMAS));
|
| DCHECK(root.get() != NULL);
|
| if (!root.get() || root->GetType() != Value::TYPE_DICTIONARY) {
|
| LOG(WARNING) << "Bad cellular config file";
|
|
|