| Index: content/renderer/pepper/host_dispatcher_wrapper.cc
|
| diff --git a/content/renderer/pepper/host_dispatcher_wrapper.cc b/content/renderer/pepper/host_dispatcher_wrapper.cc
|
| index 75b58eff2f1c8a8cc44eeaf4f21ec300f88b88b3..29a523caeaeb5d9f2281fe97e2a1efe05096a5f0 100644
|
| --- a/content/renderer/pepper/host_dispatcher_wrapper.cc
|
| +++ b/content/renderer/pepper/host_dispatcher_wrapper.cc
|
| @@ -83,11 +83,8 @@ void HostDispatcherWrapper::AddInstance(PP_Instance instance) {
|
| if (host) {
|
| RenderFrame* render_frame = host->GetRenderFrameForInstance(instance);
|
| PepperPluginInstance* plugin_instance = host->GetPluginInstance(instance);
|
| - blink::WebString unused;
|
| bool is_privileged_context =
|
| - plugin_instance->GetContainer()
|
| - ->document()
|
| - .isSecureContext(unused) &&
|
| + plugin_instance->GetContainer()->document().isSecureContext() &&
|
| content::IsOriginSecure(plugin_instance->GetPluginURL());
|
| render_frame->Send(new FrameHostMsg_DidCreateOutOfProcessPepperInstance(
|
| plugin_child_id_, instance,
|
|
|