Clear textruns during bidi resolution. Not Part of the Build. Bug 382429, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@227421 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3685af1102
commit
b435fce1d2
@ -5459,6 +5459,12 @@ nsTextFrame::AdjustOffsetsForBidi(PRInt32 aStart, PRInt32 aEnd)
|
||||
{
|
||||
AddStateBits(NS_FRAME_IS_BIDI);
|
||||
SetOffsets(aStart, aEnd);
|
||||
/*
|
||||
* After Bidi resolution we may need to reassign text runs.
|
||||
* This is called during bidi resolution from the block container, so we
|
||||
* shouldn't be holding a local reference to a textrun anywhere.
|
||||
*/
|
||||
ClearTextRun();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user