| Index: chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc
|
| diff --git a/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc b/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc
|
| index d03787345ad9ce12a21b903de5472d4946e10f63..19d00704f2eea194ee8f178236d42645c1d656d9 100644
|
| --- a/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc
|
| +++ b/chrome/browser/ui/views/payments/shipping_address_editor_view_controller.cc
|
| @@ -254,11 +254,8 @@ void ShippingAddressEditorViewController::UpdateEditorFields() {
|
| components.get(), &unused);
|
| for (size_t line_index = 0; line_index < components->GetSize();
|
| ++line_index) {
|
| - const base::ListValue* line = nullptr;
|
| - if (!components->GetList(line_index, &line)) {
|
| - NOTREACHED();
|
| - return;
|
| - }
|
| + const base::ListValue* line = static_cast<const base::ListValue*>(
|
| + &components->base::Value::GetList()[line_index]);
|
| DCHECK_NE(nullptr, line);
|
| for (size_t component_index = 0; component_index < line->GetSize();
|
| ++component_index) {
|
|
|