Don't tear down part of the content tree while there are still frames
referencing it. Bug 384728, r+sr=tor git-svn-id: svn://10.0.0.236/trunk@228236 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a691eeaacf
commit
f4fdf5a825
@ -149,9 +149,9 @@ nsSVGUseFrame::AttributeChanged(PRInt32 aNameSpaceID,
|
||||
void
|
||||
nsSVGUseFrame::Destroy()
|
||||
{
|
||||
nsSVGUseElement *use = NS_STATIC_CAST(nsSVGUseElement*, mContent);
|
||||
use->DestroyAnonymousContent();
|
||||
nsRefPtr<nsSVGUseElement> use = NS_STATIC_CAST(nsSVGUseElement*, mContent);
|
||||
nsSVGUseFrameBase::Destroy();
|
||||
use->DestroyAnonymousContent();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user