mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-03 04:52:54 +00:00
Back out bug 311456, at least for now, because it caused bug 311676.
This commit is contained in:
parent
91b7fee4e0
commit
abc0ac68ae
@ -542,9 +542,6 @@ nsTSubstring_CharT::SetCapacity( size_type capacity )
|
||||
void
|
||||
nsTSubstring_CharT::SetLength( size_type length )
|
||||
{
|
||||
if (mLength == length)
|
||||
return;
|
||||
|
||||
SetCapacity(length);
|
||||
|
||||
// XXX(darin): SetCapacity may fail, but it doesn't give us a way to find
|
||||
|
Loading…
x
Reference in New Issue
Block a user