Re: PSA: The return type of IPDL Recv* methods changed from bool to mozilla::ipc::IPCResult

2016-11-16 Thread Mike Conley
This is _fantastic_. Thank you Kanru! On 16/11/2016 9:57 AM, Kan-Ru Chen wrote: > Hello, > > In bug 1314254 the return type of IPDL Recv* methods was changed from > bool to mozilla::ipc::IPCResult in order to make crash reports to have > better stack information. There are now three choices to

PSA: The return type of IPDL Recv* methods changed from bool to mozilla::ipc::IPCResult

2016-11-16 Thread Kan-Ru Chen
Hello, In bug 1314254 the return type of IPDL Recv* methods was changed from bool to mozilla::ipc::IPCResult in order to make crash reports to have better stack information. There are now three choices to return from a Recv* method: 1. return IPC_OK(); where previously we return true 2. return