Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1071)

Unified Diff: chrome/browser/ui/views/payments/payment_request_views_util.cc

Issue 2871873003: [Payments] Fix up field widths in desktop editors. (Closed)
Patch Set: addressed comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/payments/payment_request_views_util.cc
diff --git a/chrome/browser/ui/views/payments/payment_request_views_util.cc b/chrome/browser/ui/views/payments/payment_request_views_util.cc
index 405c62b5d4df07b05b64293b55473ebafbd11d42..2dac17cb7cd8a2d4b4fe78a3e7995981402eda3d 100644
--- a/chrome/browser/ui/views/payments/payment_request_views_util.cc
+++ b/chrome/browser/ui/views/payments/payment_request_views_util.cc
@@ -178,7 +178,6 @@ class PaymentRequestRowBorderPainter : public views::Painter {
} // namespace
int GetActualDialogWidth() {
- constexpr int kDialogMinWidth = 512;
static int actual_width =
views::LayoutProvider::Get()->GetSnappedDialogWidth(kDialogMinWidth);
return actual_width;

Powered by Google App Engine
This is Rietveld 408576698