| Index: chrome/browser/chromeos/login/captive_portal_window_proxy.cc
|
| diff --git a/chrome/browser/chromeos/login/captive_portal_window_proxy.cc b/chrome/browser/chromeos/login/captive_portal_window_proxy.cc
|
| index 60da837f71a9c9ca6d438c65a3481e873941cc28..5e547a2d5fa7669a6e6e4ac2ad508d28490c11e8 100644
|
| --- a/chrome/browser/chromeos/login/captive_portal_window_proxy.cc
|
| +++ b/chrome/browser/chromeos/login/captive_portal_window_proxy.cc
|
| @@ -19,11 +19,9 @@ namespace chromeos {
|
|
|
| CaptivePortalWindowProxy::CaptivePortalWindowProxy(
|
| Delegate* delegate,
|
| - gfx::NativeWindow parent,
|
| content::WebContents* web_contents)
|
| : delegate_(delegate),
|
| widget_(NULL),
|
| - parent_(parent),
|
| web_contents_(web_contents) {
|
| DCHECK(GetState() == STATE_IDLE);
|
| }
|
| @@ -62,10 +60,8 @@ void CaptivePortalWindowProxy::Show() {
|
| WebContentsModalDialogManagerDelegate* delegate =
|
| web_contents_modal_dialog_manager->delegate();
|
| DCHECK(delegate);
|
| -
|
| widget_ = views::Widget::CreateWindowAsFramelessChild(
|
| captive_portal_view,
|
| - parent_,
|
| delegate->GetWebContentsModalDialogHost()->GetHostView());
|
| captive_portal_view->Init();
|
|
|
|
|