Bug 363710 - Removing text node has no visible effect. r=jwatt, sr=roc

This commit is contained in:
longsonr%gmail.com 2006-12-19 13:15:37 +00:00
parent 68f1cf3bb8
commit b047e685fb

View File

@ -139,10 +139,13 @@ NS_IMETHODIMP
nsSVGTextContainerFrame::RemoveFrame(nsIAtom *aListName, nsIFrame *aOldFrame)
{
nsSVGTextFrame *textFrame = GetTextFrame();
nsresult rv = nsSVGDisplayContainerFrame::RemoveFrame(aListName, aOldFrame);
if (textFrame)
textFrame->NotifyGlyphMetricsChange();
return NS_OK;
return rv;
}
//----------------------------------------------------------------------