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

Unified Diff: Source/core/svg/SVGRadialGradientElement.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/SVGPreserveAspectRatioTearOff.cpp ('k') | Source/core/svg/SVGRadialGradientElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGRadialGradientElement.h
diff --git a/Source/core/svg/SVGRadialGradientElement.h b/Source/core/svg/SVGRadialGradientElement.h
index 4d6f134364e24f0b8dc818e59a614ca4e6d30d5d..7d221a711da257e4d4c52837996bc557ce54006d 100644
--- a/Source/core/svg/SVGRadialGradientElement.h
+++ b/Source/core/svg/SVGRadialGradientElement.h
@@ -24,6 +24,7 @@
#include "core/SVGNames.h"
#include "core/svg/SVGAnimatedLength.h"
#include "core/svg/SVGGradientElement.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -43,6 +44,8 @@ public:
SVGAnimatedLength* fy() const { return m_fy.get(); }
SVGAnimatedLength* fr() const { return m_fr.get(); }
+ virtual void trace(Visitor*) override;
+
private:
explicit SVGRadialGradientElement(Document&);
@@ -54,12 +57,12 @@ private:
virtual bool selfHasRelativeLengths() const override;
- RefPtr<SVGAnimatedLength> m_cx;
- RefPtr<SVGAnimatedLength> m_cy;
- RefPtr<SVGAnimatedLength> m_r;
- RefPtr<SVGAnimatedLength> m_fx;
- RefPtr<SVGAnimatedLength> m_fy;
- RefPtr<SVGAnimatedLength> m_fr;
+ RefPtrWillBeMember<SVGAnimatedLength> m_cx;
+ RefPtrWillBeMember<SVGAnimatedLength> m_cy;
+ RefPtrWillBeMember<SVGAnimatedLength> m_r;
+ RefPtrWillBeMember<SVGAnimatedLength> m_fx;
+ RefPtrWillBeMember<SVGAnimatedLength> m_fy;
+ RefPtrWillBeMember<SVGAnimatedLength> m_fr;
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGPreserveAspectRatioTearOff.cpp ('k') | Source/core/svg/SVGRadialGradientElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698