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

Unified Diff: Source/core/svg/SVGTextPathElement.h

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased upto r185213 Created 6 years, 1 month 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
« no previous file with comments | « Source/core/svg/SVGTextContentElement.cpp ('k') | Source/core/svg/SVGTextPathElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTextPathElement.h
diff --git a/Source/core/svg/SVGTextPathElement.h b/Source/core/svg/SVGTextPathElement.h
index 8d05dcd7d1149bdb5f714e2253529ff851199bbd..7f3fe195de5ba176e2a351eba5943490ca936ce5 100644
--- a/Source/core/svg/SVGTextPathElement.h
+++ b/Source/core/svg/SVGTextPathElement.h
@@ -23,6 +23,7 @@
#include "core/SVGNames.h"
#include "core/svg/SVGTextContentElement.h"
#include "core/svg/SVGURIReference.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -44,6 +45,7 @@ template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGTextPath
class SVGTextPathElement final : public SVGTextContentElement,
public SVGURIReference {
DEFINE_WRAPPERTYPEINFO();
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGTextPathElement);
public:
// Forward declare enumerations in the W3C naming scheme, for IDL generation.
enum {
@@ -61,6 +63,8 @@ public:
SVGAnimatedEnumeration<SVGTextPathMethodType>* method() { return m_method.get(); }
SVGAnimatedEnumeration<SVGTextPathSpacingType>* spacing() { return m_spacing.get(); }
+ virtual void trace(Visitor*) override;
+
private:
explicit SVGTextPathElement(Document&);
@@ -80,9 +84,9 @@ private:
virtual bool selfHasRelativeLengths() const override;
- RefPtr<SVGAnimatedLength> m_startOffset;
- RefPtr<SVGAnimatedEnumeration<SVGTextPathMethodType> > m_method;
- RefPtr<SVGAnimatedEnumeration<SVGTextPathSpacingType> > m_spacing;
+ RefPtrWillBeMember<SVGAnimatedLength> m_startOffset;
+ RefPtrWillBeMember<SVGAnimatedEnumeration<SVGTextPathMethodType> > m_method;
+ RefPtrWillBeMember<SVGAnimatedEnumeration<SVGTextPathSpacingType> > m_spacing;
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGTextContentElement.cpp ('k') | Source/core/svg/SVGTextPathElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698