| Index: chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc
|
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc
|
| index 50fad6c728aeca5fa67988279609d2264a7aafed..284c57d3a4ff662f7254943c01ebb80d8e3f5ef5 100644
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc
|
| @@ -20,7 +20,6 @@
|
| #include "ui/views/view_targeter.h"
|
| #include "ui/views/widget/widget.h"
|
| #include "ui/views/window/non_client_view.h"
|
| -#include "ui/wm/core/window_animations.h"
|
|
|
| // This is the number of pixels in the border image interior to the actual
|
| // border.
|
| @@ -214,8 +213,8 @@ void OmniboxPopupContentsView::UpdatePopupAppearance() {
|
| // avoid a NULL dereference.
|
| if (!popup_.get())
|
| return;
|
| - wm::SetWindowVisibilityAnimationTransition(
|
| - popup_->GetNativeView(), wm::ANIMATE_NONE);
|
| + popup_->GetVisibilityAnimation()->SetTransition(
|
| + views::Widget::VisibilityAnimation::ANIMATE_NONE);
|
| popup_->SetContentsView(this);
|
| popup_->StackAbove(omnibox_view_->GetRelativeWindowForPopup());
|
| if (!popup_.get()) {
|
|
|