mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 12:13:22 +00:00
Attempt to fix Tp regression from bug 333769. r+sr=roc
This commit is contained in:
parent
9e7a2d7230
commit
3102525091
@ -6335,6 +6335,8 @@ nsTextFrame::ComputeWordFragmentDimensions(nsPresContext* aPresContext,
|
||||
PRInt32 nextFrameStart, nextFrameEnd;
|
||||
aNextFrame->GetOffsets(nextFrameStart, nextFrameEnd);
|
||||
tx.Init(aNextFrame, aContent, nextFrameStart);
|
||||
if (nextFrameEnd == 0) // uninitialized
|
||||
nextFrameEnd = tx.GetContentLength();
|
||||
PRBool isWhitespace, wasTransformed;
|
||||
PRInt32 wordLen, contentLen;
|
||||
nsTextDimensions dimensions;
|
||||
|
Loading…
x
Reference in New Issue
Block a user