| Index: content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc
|
| diff --git a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc
|
| index d7f4647567d86f0f970a67b0f81433dc7bd944fd..d7b0409d550ced6eb528fd4db2bca48c79e8d897 100644
|
| --- a/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc
|
| +++ b/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc
|
| @@ -141,6 +141,13 @@ void BrowserPpapiHostImpl::SetOnKeepaliveCallback(
|
| on_keepalive_callback_ = callback;
|
| }
|
|
|
| +bool BrowserPpapiHostImpl::IsPrivilegedContext(PP_Instance instance) {
|
| + auto* data = instance_map_.get(instance);
|
| + if (data == nullptr)
|
| + return false;
|
| + return data->renderer_data.is_privileged_context;
|
| +}
|
| +
|
| void BrowserPpapiHostImpl::AddInstance(
|
| PP_Instance instance,
|
| const PepperRendererInstanceData& renderer_instance_data) {
|
|
|