| Index: ppapi/proxy/ppb_pdf_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_pdf_proxy.cc b/ppapi/proxy/ppb_pdf_proxy.cc
|
| index e06b806c048793694a5f47b285b0306bb9435f6f..1deb9593cb0bb1a619722570ced3290661f546fb 100644
|
| --- a/ppapi/proxy/ppb_pdf_proxy.cc
|
| +++ b/ppapi/proxy/ppb_pdf_proxy.cc
|
| @@ -155,6 +155,10 @@ const InterfaceProxy::Info* PPB_PDF_Proxy::GetInfo() {
|
| }
|
|
|
| bool PPB_PDF_Proxy::OnMessageReceived(const IPC::Message& msg) {
|
| + // This is a private interface, plugin must have permission.
|
| + if (!dispatcher()->permissions().HasPermission(PERMISSION_PRIVATE))
|
| + return false;
|
| +
|
| bool handled = true;
|
| IPC_BEGIN_MESSAGE_MAP(PPB_PDF_Proxy, msg)
|
| IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBPDF_GetFontFileWithFallback,
|
|
|