mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
bug 475178 - nsStandardURL::SetRef broken in Win32 PGO with new PGO input. r+sr=bz
This commit is contained in:
parent
ce33ba3e88
commit
c4c5d3f905
@ -2237,8 +2237,8 @@ nsStandardURL::SetRef(const nsACString &input)
|
||||
refLen = buf.Length();
|
||||
}
|
||||
|
||||
ReplaceSegment(mRef.mPos, mRef.mLen, ref, refLen);
|
||||
mPath.mLen += (refLen - mRef.mLen);
|
||||
PRInt32 shift = ReplaceSegment(mRef.mPos, mRef.mLen, ref, refLen);
|
||||
mPath.mLen += shift;
|
||||
mRef.mLen = refLen;
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user