Index: third_party/WebKit/Source/core/svg/SVGElementRareData.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGElementRareData.cpp b/third_party/WebKit/Source/core/svg/SVGElementRareData.cpp |
index d04a206033fbc74441488f6710fba627d014fbe0..5f14b8057441bc4f589b59f368d2b942fda03997 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGElementRareData.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGElementRareData.cpp |
@@ -8,6 +8,7 @@ |
#include "core/css/resolver/StyleResolver.h" |
#include "core/dom/Document.h" |
#include "core/svg/SVGCursorElement.h" |
+#include "core/svg/SVGElementProxy.h" |
namespace blink { |
@@ -42,6 +43,7 @@ ComputedStyle* SVGElementRareData::overrideComputedStyle( |
DEFINE_TRACE(SVGElementRareData) { |
visitor->trace(m_outgoingReferences); |
visitor->trace(m_incomingReferences); |
+ visitor->trace(m_elementProxySet); |
visitor->trace(m_animatedSMILStyleProperties); |
visitor->trace(m_elementInstances); |
visitor->trace(m_correspondingElement); |
@@ -73,4 +75,10 @@ AffineTransform* SVGElementRareData::animateMotionTransform() { |
return &m_animateMotionTransform; |
} |
+SVGElementProxySet& SVGElementRareData::ensureElementProxySet() { |
+ if (!m_elementProxySet) |
+ m_elementProxySet = new SVGElementProxySet; |
+ return *m_elementProxySet; |
+} |
+ |
} // namespace blink |