| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index ccadfb2dd064e1bbb6b946cd04e94266c938a7cf..960a0246ee72e44b814e2d9f7672c64c8c3a2ffb 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -1391,6 +1391,8 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params) {
|
| WebContentsViewDelegate* delegate =
|
| GetContentClient()->browser()->GetWebContentsViewDelegate(this);
|
|
|
| + CreateBrowserPluginEmbedderIfNecessary();
|
| +
|
| #if defined(MOJO_SHELL_CLIENT)
|
| if (MojoShellConnection::Get() &&
|
| base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| @@ -3498,8 +3500,6 @@ void WebContentsImpl::OnPpapiBrokerPermissionResult(int routing_id,
|
|
|
| void WebContentsImpl::OnBrowserPluginMessage(RenderFrameHost* render_frame_host,
|
| const IPC::Message& message) {
|
| - CHECK(!browser_plugin_embedder_.get());
|
| - CreateBrowserPluginEmbedderIfNecessary();
|
| browser_plugin_embedder_->OnMessageReceived(message, render_frame_host);
|
| }
|
| #endif // defined(ENABLE_PLUGINS)
|
|
|