Bug 1236635 - Fix compile error in IPC unit tests (r=jld)

This commit is contained in:
Bill McCloskey 2016-01-05 14:19:43 -08:00
parent 3b2199533b
commit 4176ec7bd0

View File

@ -578,8 +578,8 @@ struct ParamTraits<mozilla::ipc::Endpoint<PFooSide>>
!IPC::ReadParam(aMsg, aIter, &protocolId)) {
return false;
}
aResult->mMode = mode;
aResult->mProtocolId = protocolId;
aResult->mMode = Channel::Mode(mode);
aResult->mProtocolId = mozilla::ipc::ProtocolId(protocolId);
return true;
}