| Index: ppapi/proxy/ppb_testing_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_testing_proxy.cc b/ppapi/proxy/ppb_testing_proxy.cc
|
| index 576302f97b97071ba8f78547f4b75b1e27ed4907..33b4329bc457c1193198c7160fdc208db536ec60 100644
|
| --- a/ppapi/proxy/ppb_testing_proxy.cc
|
| +++ b/ppapi/proxy/ppb_testing_proxy.cc
|
| @@ -157,6 +157,9 @@ const InterfaceProxy::Info* PPB_Testing_Proxy::GetInfo() {
|
| }
|
|
|
| bool PPB_Testing_Proxy::OnMessageReceived(const IPC::Message& msg) {
|
| + if (!dispatcher()->permissions().HasPermission(PERMISSION_TESTING))
|
| + return false;
|
| +
|
| bool handled = true;
|
| IPC_BEGIN_MESSAGE_MAP(PPB_Testing_Proxy, msg)
|
| IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBTesting_ReadImageData,
|
|
|