| Index: chrome/browser/ui/views/payments/payment_request_item_list.cc
|
| diff --git a/chrome/browser/ui/views/payments/payment_request_item_list.cc b/chrome/browser/ui/views/payments/payment_request_item_list.cc
|
| index cef163242e9fdfa808184dc5bbd4a3782cd40a5f..0cef61ec6bc84ac48121b7c06491cd67c830604a 100644
|
| --- a/chrome/browser/ui/views/payments/payment_request_item_list.cc
|
| +++ b/chrome/browser/ui/views/payments/payment_request_item_list.cc
|
| @@ -72,17 +72,17 @@ std::unique_ptr<views::View> PaymentRequestItemList::Item::CreateExtraView() {
|
| std::unique_ptr<views::View> PaymentRequestItemList::Item::CreateItemView() {
|
| std::unique_ptr<views::View> content = CreateContentView();
|
|
|
| + const gfx::Insets row_insets(
|
| + kPaymentRequestRowVerticalInsets, kPaymentRequestRowHorizontalInsets,
|
| + kPaymentRequestRowVerticalInsets,
|
| + kPaymentRequestRowHorizontalInsets + kPaymentRequestRowExtraRightInset);
|
| std::unique_ptr<PaymentRequestRowView> row =
|
| base::MakeUnique<PaymentRequestRowView>(this,
|
| - /* clickable= */ IsEnabled());
|
| + /* clickable= */ IsEnabled(),
|
| + row_insets);
|
| views::GridLayout* layout = new views::GridLayout(row.get());
|
| row->SetLayoutManager(layout);
|
|
|
| - layout->SetInsets(
|
| - kPaymentRequestRowVerticalInsets, kPaymentRequestRowHorizontalInsets,
|
| - kPaymentRequestRowVerticalInsets,
|
| - kPaymentRequestRowHorizontalInsets + kPaymentRequestRowExtraRightInset);
|
| -
|
| // Add a column for the item's content view.
|
| views::ColumnSet* columns = layout->AddColumnSet(0);
|
| columns->AddColumn(views::GridLayout::FILL, views::GridLayout::LEADING, 1,
|
|
|