Commit b69e051f authored by mad's avatar mad Committed by Commit bot

DCHECK -> LOG_IF in payment request shipping address

BUG=721502

Review-Url: https://codereview.chromium.org/2875103003
Cr-Commit-Position: refs/heads/master@{#471091}
parent c6aa5110
...@@ -334,7 +334,7 @@ bool ShippingAddressEditorViewController::SaveFieldsToProfile( ...@@ -334,7 +334,7 @@ bool ShippingAddressEditorViewController::SaveFieldsToProfile(
success = profile->SetInfo(autofill::AutofillType(field.second.type), success = profile->SetInfo(autofill::AutofillType(field.second.type),
field.first->text(), locale); field.first->text(), locale);
} }
DCHECK(success || ignore_errors) LOG_IF(ERROR, success || ignore_errors)
<< "Can't setinfo(" << field.second.type << ", " << field.first->text(); << "Can't setinfo(" << field.second.type << ", " << field.first->text();
if (!success && !ignore_errors) if (!success && !ignore_errors)
return false; return false;
...@@ -356,9 +356,8 @@ bool ShippingAddressEditorViewController::SaveFieldsToProfile( ...@@ -356,9 +356,8 @@ bool ShippingAddressEditorViewController::SaveFieldsToProfile(
combobox->GetTextForRow(combobox->selected_index()), locale); combobox->GetTextForRow(combobox->selected_index()), locale);
} }
} }
DCHECK(success || ignore_errors) LOG_IF(ERROR, success || ignore_errors)
<< "Can't setinfo(" << field.second.type << ", " << "Can't setinfo(" << field.second.type << ", "
<< combobox->GetTextForRow(combobox->selected_index()); << combobox->GetTextForRow(combobox->selected_index());
if (!success && !ignore_errors) if (!success && !ignore_errors)
return false; return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment