Index: chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc |
diff --git a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc |
index 16c0d7aa669184d4fdc6578f281b11245c5932a8..3f98b4891feac64154130077d3f3ff6546abf499 100644 |
--- a/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc |
+++ b/chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc |
@@ -33,8 +33,7 @@ |
#include "ui/views/layout/fill_layout.h" |
#include "ui/views/layout/grid_layout.h" |
#include "ui/views/layout/layout_constants.h" |
-#include "ui/wm/core/window_animations.h" |
- |
+#include "ui/views/widget/widget.h" |
// Helpers -------------------------------------------------------------------- |
@@ -868,7 +867,7 @@ void ManagePasswordsBubbleView::Observe( |
const content::NotificationSource& source, |
const content::NotificationDetails& details) { |
DCHECK_EQ(type, chrome::NOTIFICATION_FULLSCREEN_CHANGED); |
- aura::Window* window = GetWidget()->GetNativeView(); |
- wm::SetWindowVisibilityAnimationTransition(window, wm::ANIMATE_NONE); |
+ GetWidget()->GetVisibilityAnimation()->SetTransition( |
+ views::Widget::VisibilityAnimation::ANIMATE_NONE); |
CloseBubble(); |
} |