зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1860565 - Serialize and Deserialize LinkHeader::mAnchor in IPCMessageUtilsSpecializations.h r=manuel
Differential Revision: https://phabricator.services.mozilla.com/D209454
This commit is contained in:
Родитель
e7b92f7d90
Коммит
a32dab7f88
|
@ -775,6 +775,7 @@ struct ParamTraits<mozilla::net::LinkHeader> {
|
|||
WriteParam(aWriter, aParam.mSizes);
|
||||
WriteParam(aWriter, aParam.mType);
|
||||
WriteParam(aWriter, aParam.mMedia);
|
||||
WriteParam(aWriter, aParam.mAnchor);
|
||||
WriteParam(aWriter, aParam.mCrossOrigin);
|
||||
WriteParam(aWriter, aParam.mReferrerPolicy);
|
||||
WriteParam(aWriter, aParam.mAs);
|
||||
|
@ -812,6 +813,9 @@ struct ParamTraits<mozilla::net::LinkHeader> {
|
|||
if (!ReadParam(aReader, &aResult->mMedia)) {
|
||||
return false;
|
||||
}
|
||||
if (!ReadParam(aReader, &aResult->mAnchor)) {
|
||||
return false;
|
||||
}
|
||||
if (!ReadParam(aReader, &aResult->mCrossOrigin)) {
|
||||
return false;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче