Index: chrome/browser/ui/views/autofill/autofill_popup_base_view.cc |
diff --git a/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc b/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc |
index ced38990ff6767f987a1b1b0563574168d155d8c..4494f8cc58423ed14add51ed24e850924813b56b 100644 |
--- a/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc |
+++ b/chrome/browser/ui/views/autofill/autofill_popup_base_view.cc |
@@ -10,7 +10,6 @@ |
#include "chrome/browser/ui/autofill/popup_constants.h" |
#include "ui/views/border.h" |
#include "ui/views/widget/widget.h" |
-#include "ui/wm/core/window_animations.h" |
namespace autofill { |
@@ -68,8 +67,8 @@ void AutofillPopupBaseView::DoShow() { |
widget->SetContentsView(this); |
// No animation for popup appearance (too distracting). |
- wm::SetWindowVisibilityAnimationTransition( |
- widget->GetNativeView(), wm::ANIMATE_HIDE); |
+ widget->GetVisibilityAnimation()->SetTransition( |
+ views::Widget::VisibilityAnimation::ANIMATE_HIDE); |
} |
SetBorder(views::Border::CreateSolidBorder(kPopupBorderThickness, |