mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Bug 363710 - Removing text node has no visible effect. r=jwatt, sr=roc
This commit is contained in:
parent
68f1cf3bb8
commit
b047e685fb
@ -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;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user