Oilpan: Fix SVGElement leaks introduced in 201698
The Persistent handle introduced to SVGInterpolation in 201698 created the following cycle. SVGInterporation =(Persistent)=> SVGAnimatedProperty =(Member)=> SVGElement =(Member)=> ElementRareData =(Member)=> ElementAnimations =(part of object)=> CSSAnimations =(part of object)=> CSSAnimationUpdate =(Member)=> NewTransition =(Member)=> InertEffect =(Member)=> EffectModel =(RefPtr)=> InterpolationEffect =(RefPtr)=> InterpolationRecord =(RefPtr)=> SVGInterpolation This CL breaks the cycle by making SVGAnimatedProperty::m_contextElement a raw pointer. BUG= Review URL: https://codereview.chromium.org/1325433005 git-svn-id: svn://svn.chromium.org/blink/trunk@201779 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment