| 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 b5573981aac27e42f38d7ad08a3266e527256260..ccee4c1ea000e94d646258ad4e175ec8a35936fd 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -20,6 +20,7 @@
|
| #include "base/time/time.h"
|
| #include "content/browser/accessibility/accessibility_mode_helper.h"
|
| #include "content/browser/accessibility/browser_accessibility_state_impl.h"
|
| +#include "content/browser/browser_plugin/browser_plugin_content_origin_whitelist.h"
|
| #include "content/browser/browser_plugin/browser_plugin_embedder.h"
|
| #include "content/browser/browser_plugin/browser_plugin_guest.h"
|
| #include "content/browser/child_process_security_policy_impl.h"
|
| @@ -1181,6 +1182,11 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params) {
|
| if (opener_)
|
| AddDestructionObserver(opener_);
|
|
|
| +#if defined(ENABLE_PLUGINS)
|
| + browser_plugin_content_origin_whitelist_.reset(
|
| + new BrowserPluginContentOriginWhitelist(this));
|
| +#endif
|
| +
|
| registrar_.Add(this,
|
| NOTIFICATION_RENDER_WIDGET_HOST_DESTROYED,
|
| NotificationService::AllBrowserContextsAndSources());
|
|
|