bool NeckoParent::RecvPRtspChannelConstructor( PRtspChannelParent* aActor, const RtspChannelConnectArgs& aConnectArgs) { #ifdef NECKO_PROTOCOL_rtsp RtspChannelParent* p = static_cast<RtspChannelParent*>(aActor); return p->Init(aConnectArgs); #else return false; #endif }
mozilla::ipc::IPCResult NeckoParent::RecvPRtspChannelConstructor( PRtspChannelParent* aActor, const RtspChannelConnectArgs& aConnectArgs) { #ifdef NECKO_PROTOCOL_rtsp RtspChannelParent* p = static_cast<RtspChannelParent*>(aActor); return p->Init(aConnectArgs); #else return IPC_FAIL_NO_REASON(this); #endif }