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 662fe9f01b9efb7816e0c9797b93f075e19bb30f..4c14b49b59a898b72027a6c4ad63e7f389f0fa64 100644 |
--- a/chrome/browser/ui/views/payments/payment_request_views_util.cc |
+++ b/chrome/browser/ui/views/payments/payment_request_views_util.cc |
@@ -14,6 +14,7 @@ |
#include "components/autofill/core/browser/autofill_type.h" |
#include "components/autofill/core/browser/field_types.h" |
#include "third_party/skia/include/core/SkColor.h" |
+#include "ui/compositor/layer_type.h" |
#include "ui/views/background.h" |
#include "ui/views/bubble/bubble_frame_view.h" |
#include "ui/views/controls/button/button.h" |
@@ -90,7 +91,7 @@ std::unique_ptr<views::View> CreatePaymentView( |
// Paint the sheets to layers, otherwise the MD buttons (which do paint to a |
// layer) won't do proper clipping. |
- view->SetPaintToLayer(true); |
+ view->SetPaintToLayer(ui::LAYER_TEXTURED); |
views::GridLayout* layout = new views::GridLayout(view.get()); |
view->SetLayoutManager(layout); |