| Index: chromeos/network/onc/onc_translator_onc_to_shill.cc
|
| diff --git a/chromeos/network/onc/onc_translator_onc_to_shill.cc b/chromeos/network/onc/onc_translator_onc_to_shill.cc
|
| index 9e1e53e85806c8d9735de7fddaba39fdf724ec39..fdd8fbdd8a10aad2b9a3e6c0ee425bfd9e2406ca 100644
|
| --- a/chromeos/network/onc/onc_translator_onc_to_shill.cc
|
| +++ b/chromeos/network/onc/onc_translator_onc_to_shill.cc
|
| @@ -353,9 +353,10 @@ void TranslateONCHierarchy(const OncValueSignature& signature,
|
| base::DictionaryValue* nested_shill_dict = NULL;
|
| target_shill_dictionary->GetDictionaryWithoutPathExpansion(
|
| *it, &nested_shill_dict);
|
| - if (!nested_shill_dict)
|
| + if (!nested_shill_dict) {
|
| nested_shill_dict = new base::DictionaryValue;
|
| - target_shill_dictionary->SetWithoutPathExpansion(*it, nested_shill_dict);
|
| + target_shill_dictionary->SetWithoutPathExpansion(*it, nested_shill_dict);
|
| + }
|
| target_shill_dictionary = nested_shill_dict;
|
| }
|
| // Translates fields of |onc_object| and writes them to
|
|
|