Index: chrome/browser/ui/views/payments/view_stack.cc |
diff --git a/chrome/browser/ui/views/payments/view_stack.cc b/chrome/browser/ui/views/payments/view_stack.cc |
index 1336745239e947071e5d608021c3f7c9c3e4fe7d..88e9dd5adf0786912469d47222338eca209e1a10 100644 |
--- a/chrome/browser/ui/views/payments/view_stack.cc |
+++ b/chrome/browser/ui/views/payments/view_stack.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/browser/ui/views/payments/view_stack.h" |
#include "base/memory/ptr_util.h" |
+#include "ui/compositor/layer_type.h" |
#include "ui/views/layout/fill_layout.h" |
ViewStack::ViewStack() |
@@ -16,7 +17,7 @@ ViewStack::ViewStack() |
// Paint to a layer and Mask to Bounds, otherwise descendant views that paint |
// to a layer themselves will still paint while they're being animated out and |
// are out of bounds of their parent. |
- SetPaintToLayer(true); |
+ SetPaintToLayer(ui::LAYER_TEXTURED); |
layer()->SetMasksToBounds(true); |
} |