| Index: chrome/browser/chromeos/login/ui/captive_portal_window_proxy.cc
|
| diff --git a/chrome/browser/chromeos/login/ui/captive_portal_window_proxy.cc b/chrome/browser/chromeos/login/ui/captive_portal_window_proxy.cc
|
| index 9acc39021941f8b9f5a1887e4f015941050f257b..16b3ea2a7b9a1adb640babdd4154d0401295fcfa 100644
|
| --- a/chrome/browser/chromeos/login/ui/captive_portal_window_proxy.cc
|
| +++ b/chrome/browser/chromeos/login/ui/captive_portal_window_proxy.cc
|
| @@ -8,6 +8,7 @@
|
| #include "chrome/browser/chromeos/login/ui/captive_portal_view.h"
|
| #include "chrome/browser/chromeos/login/ui/proxy_settings_dialog.h"
|
| #include "chrome/browser/chromeos/profiles/profile_helper.h"
|
| +#include "components/constrained_window/constrained_window_views.h"
|
| #include "components/web_modal/web_contents_modal_dialog_host.h"
|
| #include "components/web_modal/web_contents_modal_dialog_manager.h"
|
| #include "components/web_modal/web_contents_modal_dialog_manager_delegate.h"
|
| @@ -81,7 +82,7 @@ void CaptivePortalWindowProxy::Show() {
|
| manager->delegate()->GetWebContentsModalDialogHost()->GetHostView());
|
| portal->Init();
|
| widget_->AddObserver(this);
|
| - manager->ShowModalDialog(widget_->GetNativeView());
|
| + constrained_window::ShowModalDialog(widget_->GetNativeView(), web_contents_);
|
| }
|
|
|
| void CaptivePortalWindowProxy::Close() {
|
|
|