| Index: apps/app_window.cc
|
| diff --git a/apps/app_window.cc b/apps/app_window.cc
|
| index eb4f81a2fd7e42a57786a1902ebb162f9f370d46..46ddb12e8037d86087ce06289305b6ec5ffb4581 100644
|
| --- a/apps/app_window.cc
|
| +++ b/apps/app_window.cc
|
| @@ -263,7 +263,6 @@ void AppWindow::Init(const GURL& url,
|
| content::WebContentsObserver::Observe(web_contents);
|
| }
|
| app_delegate_->InitWebContents(web_contents);
|
| -
|
| WebContentsModalDialogManager::CreateForWebContents(web_contents);
|
| // TODO(jamescook): Delegate out this creation.
|
| extensions::ChromeExtensionWebContentsObserver::CreateForWebContents(
|
| @@ -293,10 +292,6 @@ void AppWindow::Init(const GURL& url,
|
| helper_.reset(new AppWebContentsHelper(
|
| browser_context_, extension_id_, web_contents, app_delegate_.get()));
|
|
|
| - popup_manager_.reset(
|
| - new web_modal::PopupManager(GetWebContentsModalDialogHost()));
|
| - popup_manager_->RegisterWith(web_contents);
|
| -
|
| // Prevent the browser process from shutting down while this window exists.
|
| apps_client->IncrementKeepAliveCount();
|
| UpdateExtensionAppIcon();
|
|
|