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 1bee361951118442bd1a6d5db1c355ca57bc8f9c..ba709fe7efc49f7f69a8d3bda761e671b14fef53 100644 |
--- a/content/renderer/pepper/host_dispatcher_wrapper.cc |
+++ b/content/renderer/pepper/host_dispatcher_wrapper.cc |
@@ -94,7 +94,7 @@ void HostDispatcherWrapper::AddInstance(PP_Instance instance) { |
plugin_instance->GetContainer() |
->element() |
.document() |
- .isPrivilegedContext(unused) && |
+ .isSecureContext(unused) && |
content::IsOriginSecure(plugin_instance->GetPluginURL()); |
render_frame->Send(new FrameHostMsg_DidCreateOutOfProcessPepperInstance( |
plugin_child_id_, instance, |