From 7fab8d9acb8da62bc6031c0f320e6dbb0d527955 Mon Sep 17 00:00:00 2001 From: Cameron McCormack Date: Mon, 15 Apr 2013 17:16:07 +1000 Subject: [PATCH] Bug 843917 - Don't call InvalidateBounds() in nsSVGTextFrame2; leave invalidation to DLBI. r=jwatt --- layout/svg/nsSVGTextFrame2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/svg/nsSVGTextFrame2.cpp b/layout/svg/nsSVGTextFrame2.cpp index 55fe513c5f8..0c6e55e7d0e 100644 --- a/layout/svg/nsSVGTextFrame2.cpp +++ b/layout/svg/nsSVGTextFrame2.cpp @@ -2880,7 +2880,7 @@ void GlyphMetricsUpdater::Run(nsSVGTextFrame2* aFrame) { aFrame->mPositioningDirty = true; - nsSVGUtils::InvalidateBounds(aFrame, false); + nsSVGEffects::InvalidateRenderingObservers(aFrame); nsSVGUtils::ScheduleReflowSVG(aFrame); aFrame->mGlyphMetricsUpdater = nullptr; }