Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1076)

Unified Diff: Source/core/svg/properties/SVGPropertyTearOff.h

Issue 25164005: Merge 158408 "Revert 157959 "Introduce a new reference graph to ..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1650/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « Source/core/svg/properties/SVGPathSegListPropertyTearOff.h ('k') | Source/core/svg/properties/SVGStaticListPropertyTearOff.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698