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 e9780f3b16228281ffdecca3a20f2f47c477a846..fb6071fe7e234ceb2343bd61d4b4c283abdb6cb8 100644 |
--- a/chrome/browser/ui/views/payments/view_stack.cc |
+++ b/chrome/browser/ui/views/payments/view_stack.cc |
@@ -4,8 +4,12 @@ |
#include "chrome/browser/ui/views/payments/view_stack.h" |
+#include <memory> |
+#include <utility> |
+ |
#include "base/memory/ptr_util.h" |
#include "ui/views/layout/fill_layout.h" |
+#include "ui/views/widget/widget.h" |
ViewStack::ViewStack() |
: slide_in_animator_(base::MakeUnique<views::BoundsAnimator>(this)), |
@@ -81,7 +85,7 @@ void ViewStack::UpdateAnimatorBounds( |
// If an animator is currently animating, figure out which views and update |
// their target bounds. |
if (animator->IsAnimating()) { |
- for (auto& view: stack_) { |
+ for (auto& view : stack_) { |
if (animator->IsAnimating(view.get())) { |
animator->SetTargetBounds(view.get(), target); |
} |