зеркало из https://github.com/mozilla/gecko-dev.git
Bug 819791 - Part 0: Deserialize fallibly in IPCMessageUtils.h. r=cjones
Comments in the code are asking for us to deserialize fallibly; it looks like we just forgot to change this when we made nsTArray infallible.
This commit is contained in:
Родитель
3dfc80459c
Коммит
63aae26bf9
|
@ -390,7 +390,7 @@ struct ParamTraits<InfallibleTArray<E> > :
|
|||
// deserialize the array fallibly, but return an InfallibleTArray
|
||||
static bool Read(const Message* aMsg, void** aIter, paramType* aResult)
|
||||
{
|
||||
nsTArray<E> temp;
|
||||
FallibleTArray<E> temp;
|
||||
if (!ReadParam(aMsg, aIter, &temp))
|
||||
return false;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче