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..0630b482ae47ce709a9e6538511f6915337cd2c7 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,7 @@ void AutofillPopupBaseView::DoShow() { |
widget->SetContentsView(this); |
// No animation for popup appearance (too distracting). |
- wm::SetWindowVisibilityAnimationTransition( |
- widget->GetNativeView(), wm::ANIMATE_HIDE); |
+ widget->SetVisibilityAnimationTransition(views::Widget::ANIMATE_HIDE); |
} |
SetBorder(views::Border::CreateSolidBorder(kPopupBorderThickness, |