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

Unified Diff: Source/core/svg/SVGRectElement.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/SVGRect.idl ('k') | Source/core/svg/SVGRectElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGRectElement.h
diff --git a/Source/core/svg/SVGRectElement.h b/Source/core/svg/SVGRectElement.h
index d38ba57056759df14ef65111b579b3c1a18325c5..af15393652f7158a7aaca35efc65085ee795a90f 100644
--- a/Source/core/svg/SVGRectElement.h
+++ b/Source/core/svg/SVGRectElement.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 {
@@ -40,6 +41,8 @@ public:
SVGAnimatedLength* rx() const { return m_rx.get(); }
SVGAnimatedLength* ry() const { return m_ry.get(); }
+ virtual void trace(Visitor*) override;
+
private:
explicit SVGRectElement(Document&);
@@ -51,12 +54,12 @@ private:
virtual RenderObject* createRenderer(RenderStyle*) override;
- RefPtr<SVGAnimatedLength> m_x;
- RefPtr<SVGAnimatedLength> m_y;
- RefPtr<SVGAnimatedLength> m_width;
- RefPtr<SVGAnimatedLength> m_height;
- RefPtr<SVGAnimatedLength> m_rx;
- RefPtr<SVGAnimatedLength> m_ry;
+ RefPtrWillBeMember<SVGAnimatedLength> m_x;
+ RefPtrWillBeMember<SVGAnimatedLength> m_y;
+ RefPtrWillBeMember<SVGAnimatedLength> m_width;
+ RefPtrWillBeMember<SVGAnimatedLength> m_height;
+ RefPtrWillBeMember<SVGAnimatedLength> m_rx;
+ RefPtrWillBeMember<SVGAnimatedLength> m_ry;
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGRect.idl ('k') | Source/core/svg/SVGRectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698