summaryrefslogtreecommitdiffstats
path: root/ipc/glue/IPCMessageUtilsSpecializations.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/glue/IPCMessageUtilsSpecializations.h')
-rw-r--r--ipc/glue/IPCMessageUtilsSpecializations.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipc/glue/IPCMessageUtilsSpecializations.h b/ipc/glue/IPCMessageUtilsSpecializations.h
index e9742c5c74..ec0620d057 100644
--- a/ipc/glue/IPCMessageUtilsSpecializations.h
+++ b/ipc/glue/IPCMessageUtilsSpecializations.h
@@ -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;
}