Index: Source/core/svg/SVGPatternElement.h |
diff --git a/Source/core/svg/SVGPatternElement.h b/Source/core/svg/SVGPatternElement.h |
index 192f953d3a4b612d396d109bfc1bfe9c4dfa4296..62186575b303af24dd6f48d2de8af7dee3e54e8d 100644 |
--- a/Source/core/svg/SVGPatternElement.h |
+++ b/Source/core/svg/SVGPatternElement.h |
@@ -31,6 +31,7 @@ |
#include "core/svg/SVGTests.h" |
#include "core/svg/SVGURIReference.h" |
#include "core/svg/SVGUnitTypes.h" |
+#include "platform/heap/Handle.h" |
namespace blink { |
@@ -41,6 +42,7 @@ class SVGPatternElement final : public SVGElement, |
public SVGTests, |
public SVGFitToViewBox { |
DEFINE_WRAPPERTYPEINFO(); |
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGPatternElement); |
public: |
DECLARE_NODE_FACTORY(SVGPatternElement); |
@@ -59,6 +61,8 @@ public: |
const SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* patternUnits() const { return m_patternUnits.get(); } |
const SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* patternContentUnits() const { return m_patternContentUnits.get(); } |
+ virtual void trace(Visitor*) override; |
+ |
private: |
explicit SVGPatternElement(Document&); |
@@ -74,13 +78,13 @@ private: |
virtual bool selfHasRelativeLengths() const override; |
- RefPtr<SVGAnimatedLength> m_x; |
- RefPtr<SVGAnimatedLength> m_y; |
- RefPtr<SVGAnimatedLength> m_width; |
- RefPtr<SVGAnimatedLength> m_height; |
- RefPtr<SVGAnimatedTransformList> m_patternTransform; |
- RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_patternUnits; |
- RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_patternContentUnits; |
+ RefPtrWillBeMember<SVGAnimatedLength> m_x; |
+ RefPtrWillBeMember<SVGAnimatedLength> m_y; |
+ RefPtrWillBeMember<SVGAnimatedLength> m_width; |
+ RefPtrWillBeMember<SVGAnimatedLength> m_height; |
+ RefPtrWillBeMember<SVGAnimatedTransformList> m_patternTransform; |
+ RefPtrWillBeMember<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_patternUnits; |
+ RefPtrWillBeMember<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_patternContentUnits; |
}; |
} // namespace blink |