Fixing bustage from landing of bug 397510.

This commit is contained in:
2007-11-08 23:37:31 -08:00
parent 923f814b3c
commit 5a16947e9c

View File

@@ -602,6 +602,9 @@ public:
mMaxTextLength = 0;
mDoubleByteText = PR_FALSE;
}
void ResetLineBreaker() {
mLineBreaker.Reset();
}
void AccumulateRunInfo(nsTextFrame* aFrame);
void BuildTextRunForFrames(void* aTextBuffer);
void AssignTextRun(gfxTextRun* aTextRun);
@@ -963,7 +966,7 @@ BuildTextRuns(gfxContext* aContext, nsTextFrame* aForFrame,
// Note that we must already have finished the textrun for aForFrame,
// because we've seen the end of a textrun in a line after the line
// containing aForFrame.
mLineBreaker.Reset();
scanner.ResetLineBreaker();
return;
}
}