From a3fae78de7e4a21675a0683dc2dff5c82a138788 Mon Sep 17 00:00:00 2001 From: "tor%cs.brown.edu" Date: Thu, 1 Jun 2006 16:20:21 +0000 Subject: [PATCH] Bustage fix from bug 338301. --- layout/svg/base/src/nsSVGTextFrame.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/layout/svg/base/src/nsSVGTextFrame.cpp b/layout/svg/base/src/nsSVGTextFrame.cpp index d56039418018..ea68f5a05355 100644 --- a/layout/svg/base/src/nsSVGTextFrame.cpp +++ b/layout/svg/base/src/nsSVGTextFrame.cpp @@ -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) {