This commit is contained in:
tor%cs.brown.edu 2006-06-01 16:20:21 +00:00
Родитель 27e464121a
Коммит a3fae78de7
1 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -472,9 +472,9 @@ nsSVGTextFrame::NotifyRedrawUnsuspended()
NS_ASSERTION(mFragmentTreeState == suspended, "fragment tree not suspended during redraw");
// 3 passes:
nsIFrame *kid;
mFragmentTreeState = updating;
for (nsIFrame* kid = mFrames.FirstChild(); kid;
kid = kid->GetNextSibling()) {
for (kid = mFrames.FirstChild(); kid; kid = kid->GetNextSibling()) {
nsISVGGlyphFragmentNode* node = nsnull;
CallQueryInterface(kid, &node);
if (node) {
@ -487,8 +487,7 @@ nsSVGTextFrame::NotifyRedrawUnsuspended()
UpdateFragmentTree();
mMetricsState = updating;
for (nsIFrame* kid = mFrames.FirstChild(); kid;
kid = kid->GetNextSibling()) {
for (kid = mFrames.FirstChild(); kid; kid = kid->GetNextSibling()) {
nsISVGGlyphFragmentNode* node = nsnull;
CallQueryInterface(kid, &node);
if (node) {