Bug 1248923 - Store result in Update ParamTraits<GonkNativeHandle>::Read() r=nical

This commit is contained in:
Sotaro Ikeda 2016-02-21 16:44:50 -08:00
parent 4033d4ec3c
commit 0f29054d1b

View File

@ -62,6 +62,9 @@ ParamTraits<GonkNativeHandle>::Read(const Message* aMsg,
nativeHandle->data[i] = fd.fd;
}
GonkNativeHandle handle(new GonkNativeHandle::NhObj(nativeHandle));
handle.TransferToAnother(*aResult);
return true;
}