Bug 1184426 - Unprefix RTCIceCandidatePairStats.priority (formerly mozPriority). r=bwc, r=smaug

This commit is contained in:
Jan-Ivar Bruaroey 2015-07-15 22:43:37 -04:00
parent 038fecc79a
commit 0f248823bb
4 changed files with 5 additions and 5 deletions

View File

@ -198,7 +198,7 @@ struct ParamTraits<mozilla::dom::RTCIceCandidatePairStats>
{
WriteParam(aMsg, aParam.mComponentId);
WriteParam(aMsg, aParam.mLocalCandidateId);
WriteParam(aMsg, aParam.mMozPriority);
WriteParam(aMsg, aParam.mPriority);
WriteParam(aMsg, aParam.mNominated);
WriteParam(aMsg, aParam.mReadable);
WriteParam(aMsg, aParam.mRemoteCandidateId);
@ -211,7 +211,7 @@ struct ParamTraits<mozilla::dom::RTCIceCandidatePairStats>
{
if (!ReadParam(aMsg, aIter, &(aResult->mComponentId)) ||
!ReadParam(aMsg, aIter, &(aResult->mLocalCandidateId)) ||
!ReadParam(aMsg, aIter, &(aResult->mMozPriority)) ||
!ReadParam(aMsg, aIter, &(aResult->mPriority)) ||
!ReadParam(aMsg, aIter, &(aResult->mNominated)) ||
!ReadParam(aMsg, aIter, &(aResult->mReadable)) ||
!ReadParam(aMsg, aIter, &(aResult->mRemoteCandidateId)) ||

View File

@ -115,7 +115,7 @@ dictionary RTCIceCandidatePairStats : RTCStats {
DOMString localCandidateId;
DOMString remoteCandidateId;
RTCStatsIceCandidatePairState state;
unsigned long long mozPriority;
unsigned long long priority;
boolean readable;
boolean nominated;
boolean selected;

View File

@ -3026,7 +3026,7 @@ static void RecordIceStats_s(
s.mLocalCandidateId.Construct(localCodeword);
s.mRemoteCandidateId.Construct(remoteCodeword);
s.mNominated.Construct(p->nominated);
s.mMozPriority.Construct(p->priority);
s.mPriority.Construct(p->priority);
s.mSelected.Construct(p->selected);
s.mState.Construct(RTCStatsIceCandidatePairState(p->state));
report->mIceCandidatePairStats.Value().AppendElement(s, fallible);

View File

@ -635,7 +635,7 @@ ICEStats.prototype = {
stat = {
localcandidate: this.candidateToString(local),
state: pair.state,
priority: pair.mozPriority,
priority: pair.priority,
nominated: pair.nominated,
selected: pair.selected
};