зеркало из https://github.com/mozilla/gecko-dev.git
Reverting v1.47 back to 1.46 to fix bustage. r=peterlubczynski
This commit is contained in:
Родитель
31e9e1c724
Коммит
7fd3e47dd6
|
@ -438,8 +438,6 @@ nsTextTransformer::ScanNormalUnicodeText_F(PRBool aForLineBreak,
|
|||
firstChar = ' ';
|
||||
*aWasTransformed = PR_TRUE;
|
||||
}
|
||||
|
||||
mTransformBuf.GrowTo(mBufferPos+1);
|
||||
mTransformBuf.mBuffer[mBufferPos++] = firstChar;
|
||||
|
||||
if (!breakBetween) {
|
||||
|
@ -495,17 +493,6 @@ nsTextTransformer::ScanNormalUnicodeText_F(PRBool aForLineBreak,
|
|||
firstChar = ' ';
|
||||
*aWasTransformed = PR_TRUE;
|
||||
}
|
||||
nsresult rv = mTransformBuf.GrowTo(mBufferPos + 1);
|
||||
if (NS_FAILED(rv)) {
|
||||
*aWordLen = 0;
|
||||
return offset - 1;
|
||||
}
|
||||
|
||||
nsresult rv = mTransformBuf.GrowTo(mBufferPos + 1);
|
||||
if (NS_FAILED(rv)) {
|
||||
*aWordLen = 0;
|
||||
return offset - 1;
|
||||
}
|
||||
mTransformBuf.mBuffer[mBufferPos++] = firstChar;
|
||||
}
|
||||
|
||||
|
|
|
@ -438,8 +438,6 @@ nsTextTransformer::ScanNormalUnicodeText_F(PRBool aForLineBreak,
|
|||
firstChar = ' ';
|
||||
*aWasTransformed = PR_TRUE;
|
||||
}
|
||||
|
||||
mTransformBuf.GrowTo(mBufferPos+1);
|
||||
mTransformBuf.mBuffer[mBufferPos++] = firstChar;
|
||||
|
||||
if (!breakBetween) {
|
||||
|
@ -495,17 +493,6 @@ nsTextTransformer::ScanNormalUnicodeText_F(PRBool aForLineBreak,
|
|||
firstChar = ' ';
|
||||
*aWasTransformed = PR_TRUE;
|
||||
}
|
||||
nsresult rv = mTransformBuf.GrowTo(mBufferPos + 1);
|
||||
if (NS_FAILED(rv)) {
|
||||
*aWordLen = 0;
|
||||
return offset - 1;
|
||||
}
|
||||
|
||||
nsresult rv = mTransformBuf.GrowTo(mBufferPos + 1);
|
||||
if (NS_FAILED(rv)) {
|
||||
*aWordLen = 0;
|
||||
return offset - 1;
|
||||
}
|
||||
mTransformBuf.mBuffer[mBufferPos++] = firstChar;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче