diff options
Diffstat (limited to 'chromeos')
-rw-r--r-- | chromeos/network/onc/onc_translator_shill_to_onc.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chromeos/network/onc/onc_translator_shill_to_onc.cc b/chromeos/network/onc/onc_translator_shill_to_onc.cc index dc01b2a..19e7eff 100644 --- a/chromeos/network/onc/onc_translator_shill_to_onc.cc +++ b/chromeos/network/onc/onc_translator_shill_to_onc.cc @@ -398,8 +398,10 @@ void ShillToONCTranslator::TranslateAndAddNestedObject( const base::DictionaryValue& dictionary) { const OncFieldSignature* field_signature = GetFieldSignature(*onc_signature_, onc_field_name); - DCHECK(field_signature) << "Unable to find signature for field " - << onc_field_name << "."; + if (!field_signature) { + NOTREACHED() << "Unable to find signature for field: " << onc_field_name; + return; + } ShillToONCTranslator nested_translator(dictionary, *field_signature->value_signature); scoped_ptr<base::DictionaryValue> nested_object = |