| Index: Source/core/svg/properties/SVGPropertyTearOff.h
|
| ===================================================================
|
| --- Source/core/svg/properties/SVGPropertyTearOff.h (revision 158536)
|
| +++ Source/core/svg/properties/SVGPropertyTearOff.h (working copy)
|
| @@ -74,8 +74,7 @@
|
| {
|
| if (!m_animatedProperty || m_valueIsCopy)
|
| return 0;
|
| - ASSERT(m_contextElement);
|
| - return m_contextElement;
|
| + return m_contextElement.get();
|
| }
|
|
|
| void addChild(WeakPtr<SVGPropertyTearOffBase> child)
|
| @@ -155,7 +154,7 @@
|
| m_childTearOffs.clear();
|
| }
|
|
|
| - SVGElement* m_contextElement;
|
| + RefPtr<SVGElement> m_contextElement;
|
| SVGAnimatedProperty* m_animatedProperty;
|
| SVGPropertyRole m_role;
|
| PropertyType* m_value;
|
|
|