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

Unified Diff: Source/core/svg/SVGCircleElement.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/SVGBoolean.cpp ('k') | Source/core/svg/SVGCircleElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGCircleElement.h
diff --git a/Source/core/svg/SVGCircleElement.h b/Source/core/svg/SVGCircleElement.h
index 6f84e0b1a7f6270d019b6db93f10c7c5a895572f..27a7baec68862ed6e1580c23d7b5e5ea7f1c5d0d 100644
--- a/Source/core/svg/SVGCircleElement.h
+++ b/Source/core/svg/SVGCircleElement.h
@@ -25,6 +25,7 @@
#include "core/svg/SVGAnimatedBoolean.h"
#include "core/svg/SVGAnimatedLength.h"
#include "core/svg/SVGGeometryElement.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -37,6 +38,8 @@ public:
SVGAnimatedLength* cy() const { return m_cy.get(); }
SVGAnimatedLength* r() const { return m_r.get(); }
+ virtual void trace(Visitor*) override;
+
private:
explicit SVGCircleElement(Document&);
@@ -48,9 +51,9 @@ private:
virtual RenderObject* createRenderer(RenderStyle*) override;
- RefPtr<SVGAnimatedLength> m_cx;
- RefPtr<SVGAnimatedLength> m_cy;
- RefPtr<SVGAnimatedLength> m_r;
+ RefPtrWillBeMember<SVGAnimatedLength> m_cx;
+ RefPtrWillBeMember<SVGAnimatedLength> m_cy;
+ RefPtrWillBeMember<SVGAnimatedLength> m_r;
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGBoolean.cpp ('k') | Source/core/svg/SVGCircleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698