| Index: chrome/browser/ui/views/constrained_window_views.cc
|
| diff --git a/chrome/browser/ui/views/constrained_window_views.cc b/chrome/browser/ui/views/constrained_window_views.cc
|
| index b9f5af59a7e2509a1529c2e7366daf09b76c79d5..2af44a82415961d5a17ee2a05feffe1fe274bd36 100644
|
| --- a/chrome/browser/ui/views/constrained_window_views.cc
|
| +++ b/chrome/browser/ui/views/constrained_window_views.cc
|
| @@ -620,14 +620,11 @@ ConstrainedWindowViews::~ConstrainedWindowViews() {
|
| // ConstrainedWindowViews, ConstrainedWindow implementation:
|
|
|
| void ConstrainedWindowViews::ShowConstrainedWindow() {
|
| - // We marked the view as hidden during construction. Mark it as
|
| - // visible now so FocusManager will let us receive focus.
|
| - non_client_view()->SetVisible(true);
|
| ConstrainedWindowTabHelper* helper =
|
| wrapper_->constrained_window_tab_helper();
|
| if (helper && helper->delegate())
|
| helper->delegate()->WillShowConstrainedWindow(wrapper_);
|
| - Activate();
|
| + Show();
|
| FocusConstrainedWindow();
|
| }
|
|
|
|
|