| 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 d48427cd9172c6474c186ad7b5fd8de98674e1ab..2d48f44eae2955a4ae419cb0ebbc0434b2f79d0b 100644
|
| --- a/chrome/browser/ui/views/constrained_window_views.cc
|
| +++ b/chrome/browser/ui/views/constrained_window_views.cc
|
| @@ -615,14 +615,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();
|
| }
|
|
|
|
|