| 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 c6baca64d653243aae5e383c6cb91e3af71246c2..c17dcf3fad339798ec5d8e6b266121d7b0ef2015 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -45,6 +45,7 @@
|
| #include "content/browser/media/midi_dispatcher_host.h"
|
| #include "content/browser/message_port_message_filter.h"
|
| #include "content/browser/message_port_service.h"
|
| +#include "content/browser/plugin_content_origin_whitelist.h"
|
| #include "content/browser/power_save_blocker_impl.h"
|
| #include "content/browser/renderer_host/render_process_host_impl.h"
|
| #include "content/browser/renderer_host/render_view_host_delegate_view.h"
|
| @@ -1179,6 +1180,11 @@ void WebContentsImpl::Init(const WebContents::CreateParams& params) {
|
| if (opener_)
|
| AddDestructionObserver(opener_);
|
|
|
| +#if defined(ENABLE_PLUGINS)
|
| + plugin_content_origin_whitelist_.reset(
|
| + new PluginContentOriginWhitelist(this));
|
| +#endif
|
| +
|
| registrar_.Add(this,
|
| NOTIFICATION_RENDER_WIDGET_HOST_DESTROYED,
|
| NotificationService::AllBrowserContextsAndSources());
|
|
|