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

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: using extra width 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 b868c3c87e11cfde8476a4e3ee8204620883cd5e..d13d5f21862de85b22268d366a07c708d240a17e 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