mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset a6c8c4ccb5e7 (bug 1113005) because of mochitest-4 bustage on a CLOSED TREE
This commit is contained in:
parent
50a458a845
commit
e526ef3b2f
@ -505,7 +505,7 @@ nsTString_CharT::ReplaceSubstring( const self_type& aTarget, const self_type& aN
|
||||
return;
|
||||
if (oldData) {
|
||||
// Copy all of the old data to the new buffer.
|
||||
char_traits::copy(mData, oldData, XPCOM_MIN(mLength, newLength));
|
||||
char_traits::copy(mData, oldData, XPCOM_MAX(mLength, newLength));
|
||||
::ReleaseData(oldData, oldFlags);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user