зеркало из https://github.com/mozilla/pjs.git
Fixing bustage from landing of bug 397510.
This commit is contained in:
Родитель
ea096f1129
Коммит
9ea43da114
|
@ -602,6 +602,9 @@ public:
|
||||||
mMaxTextLength = 0;
|
mMaxTextLength = 0;
|
||||||
mDoubleByteText = PR_FALSE;
|
mDoubleByteText = PR_FALSE;
|
||||||
}
|
}
|
||||||
|
void ResetLineBreaker() {
|
||||||
|
mLineBreaker.Reset();
|
||||||
|
}
|
||||||
void AccumulateRunInfo(nsTextFrame* aFrame);
|
void AccumulateRunInfo(nsTextFrame* aFrame);
|
||||||
void BuildTextRunForFrames(void* aTextBuffer);
|
void BuildTextRunForFrames(void* aTextBuffer);
|
||||||
void AssignTextRun(gfxTextRun* aTextRun);
|
void AssignTextRun(gfxTextRun* aTextRun);
|
||||||
|
@ -962,7 +965,7 @@ BuildTextRuns(gfxContext* aContext, nsTextFrame* aForFrame,
|
||||||
// Note that we must already have finished the textrun for 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
|
// because we've seen the end of a textrun in a line after the line
|
||||||
// containing aForFrame.
|
// containing aForFrame.
|
||||||
mLineBreaker.Reset();
|
scanner.ResetLineBreaker();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче