| Index: chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc
|
| diff --git a/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc b/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc
|
| index fd60a4b0d6cce71e6b91bacac6bccee1e925abe6..9b10a8a47643d180613085f5abc8a78c56594bcc 100644
|
| --- a/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc
|
| +++ b/chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc
|
| @@ -12,6 +12,7 @@
|
| #include "components/ui/zoom/zoom_controller.h"
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "content/public/browser/web_contents_source.h"
|
| #include "content/public/common/renderer_preferences.h"
|
| #include "ipc/ipc_message.h"
|
| #include "ui/web_dialogs/web_dialog_delegate.h"
|
| @@ -34,6 +35,8 @@ ConstrainedWebDialogDelegateBase::ConstrainedWebDialogDelegateBase(
|
| CHECK(delegate);
|
| web_contents_.reset(
|
| WebContents::Create(WebContents::CreateParams(browser_context)));
|
| + WebContentsSource::CreateForWebContentsAndLocation(web_contents_.get(),
|
| + FROM_HERE);
|
| ui_zoom::ZoomController::CreateForWebContents(web_contents_.get());
|
| if (tab_delegate) {
|
| override_tab_delegate_.reset(tab_delegate);
|
|
|