зеркало из https://github.com/mozilla/gecko-dev.git
Bustage fix from bug 338301.
This commit is contained in:
Родитель
27e464121a
Коммит
a3fae78de7
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче