[Webkit-unassigned] [Bug 56672] Leaks beneath RenderSVGShadowTreeRootContainer::updateFromElement seen on SnowLeopard Intel Leaks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 18 18:59:30 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=56672





--- Comment #7 from Leo Yang <leo.yang at torchmobile.com.cn>  2011-04-18 18:59:30 PST ---
(In reply to comment #6)
> (From update of attachment 89993 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=89993&action=review
> 
> > Source/WebCore/rendering/svg/RenderSVGShadowTreeRootContainer.cpp:42
> >          m_shadowRoot->clearShadowHost();
> 
> I don't understand why "clearing" the host doesn't also detach it?  Aren't we releasing a ref-counted DOM Node here?  When it's destroyed, doesn't it also destroy its renderer?

Good point! I was trying to keep the previous detach. I also agree that it needs not detach if we clear shadow host.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list