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

Unified Diff: Source/core/svg/SVGTextPositioningElement.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/SVGTextPathElement.cpp ('k') | Source/core/svg/SVGTextPositioningElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTextPositioningElement.h
diff --git a/Source/core/svg/SVGTextPositioningElement.h b/Source/core/svg/SVGTextPositioningElement.h
index 797e33d71aded0e320cd20093ba898c434b205d1..c7668d3869767ce3702ff320b7496ef1ce23e1e3 100644
--- a/Source/core/svg/SVGTextPositioningElement.h
+++ b/Source/core/svg/SVGTextPositioningElement.h
@@ -25,6 +25,7 @@
#include "core/svg/SVGAnimatedLengthList.h"
#include "core/svg/SVGAnimatedNumberList.h"
#include "core/svg/SVGTextContentElement.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -39,6 +40,8 @@ public:
SVGAnimatedLengthList* dy() { return m_dy.get(); }
SVGAnimatedNumberList* rotate() { return m_rotate.get(); }
+ virtual void trace(Visitor*) override;
+
protected:
SVGTextPositioningElement(const QualifiedName&, Document&);
@@ -47,11 +50,11 @@ protected:
virtual void svgAttributeChanged(const QualifiedName&) override final;
virtual bool isTextPositioning() const override final { return true; }
- RefPtr<SVGAnimatedLengthList> m_x;
- RefPtr<SVGAnimatedLengthList> m_y;
- RefPtr<SVGAnimatedLengthList> m_dx;
- RefPtr<SVGAnimatedLengthList> m_dy;
- RefPtr<SVGAnimatedNumberList> m_rotate;
+ RefPtrWillBeMember<SVGAnimatedLengthList> m_x;
+ RefPtrWillBeMember<SVGAnimatedLengthList> m_y;
+ RefPtrWillBeMember<SVGAnimatedLengthList> m_dx;
+ RefPtrWillBeMember<SVGAnimatedLengthList> m_dy;
+ RefPtrWillBeMember<SVGAnimatedNumberList> m_rotate;
};
inline bool isSVGTextPositioningElement(const SVGElement& element)
« no previous file with comments | « Source/core/svg/SVGTextPathElement.cpp ('k') | Source/core/svg/SVGTextPositioningElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698