| Index: chrome/renderer/chrome_content_renderer_client.cc
|
| diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
|
| index abf4b6f7162a1ddaeea012136fc4a4468a51c02e..264c0c35bf52b8c72f4cc453d6d613d512cae3db 100644
|
| --- a/chrome/renderer/chrome_content_renderer_client.cc
|
| +++ b/chrome/renderer/chrome_content_renderer_client.cc
|
| @@ -1105,6 +1105,10 @@ void ChromeContentRendererClient::RegisterPPAPIInterfaceFactories(
|
|
|
| bool ChromeContentRendererClient::AllowBrowserPlugin(
|
| WebKit::WebPluginContainer* container) const {
|
| + // Always allow the BrowserPlugin in the site-per-process prototype.
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kSitePerProcess))
|
| + return true;
|
| +
|
| // If this |BrowserPlugin| <object> in the |container| is not inside a
|
| // <webview> shadowHost, we disable instantiating this plugin. This is to
|
| // discourage and prevent developers from accidentally attaching <object>
|
|
|