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

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 Created 6 years, 2 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/SVGTextPositioningElement.h
diff --git a/Source/core/svg/SVGTextPositioningElement.h b/Source/core/svg/SVGTextPositioningElement.h
index 3389331a286a6068077f0b2c0813f3230b50fd9f..983feef08f06484af18bf168f43f405d7ad78e60 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)

Powered by Google App Engine
This is Rietveld 408576698