Index: ppapi/proxy/ppb_testing_proxy.cc |
=================================================================== |
--- ppapi/proxy/ppb_testing_proxy.cc (revision 70108) |
+++ ppapi/proxy/ppb_testing_proxy.cc (working copy) |
@@ -66,7 +66,8 @@ |
return INTERFACE_ID_PPB_TESTING; |
} |
-void PPB_Testing_Proxy::OnMessageReceived(const IPC::Message& msg) { |
+bool PPB_Testing_Proxy::OnMessageReceived(const IPC::Message& msg) { |
+ bool handled = true; |
IPC_BEGIN_MESSAGE_MAP(PPB_Testing_Proxy, msg) |
IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBTesting_ReadImageData, |
OnMsgReadImageData) |
@@ -76,7 +77,9 @@ |
OnMsgQuitMessageLoop) |
IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBTesting_GetLiveObjectCount, |
OnMsgGetLiveObjectCount) |
+ IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
+ return handled; |
} |
void PPB_Testing_Proxy::OnMsgReadImageData(PP_Resource device_context_2d, |