diff options
Diffstat (limited to 'content/renderer/browser_plugin/browser_plugin.cc')
-rw-r--r-- | content/renderer/browser_plugin/browser_plugin.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc index 086b6ab..eec9de9 100644 --- a/content/renderer/browser_plugin/browser_plugin.cc +++ b/content/renderer/browser_plugin/browser_plugin.cc @@ -524,10 +524,6 @@ bool BrowserPlugin::initialize(WebPluginContainer* container) { if (!container) return false; - if (!GetContentClient()->renderer()->AllowBrowserPlugin(container) && - !auto_navigate_) - return false; - // Tell |container| to allow this plugin to use script objects. npp_.reset(new NPP_t); container->allowScriptObjects(); |