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

Unified Diff: Source/core/svg/SVGLineElement.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/SVGLengthTearOff.cpp ('k') | Source/core/svg/SVGLineElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGLineElement.h
diff --git a/Source/core/svg/SVGLineElement.h b/Source/core/svg/SVGLineElement.h
index e449bf6f0d0fe341e11fda4b96aa75a4c4196494..1f0fbf5fab00928d5a996d268f93965d3aced8f3 100644
--- a/Source/core/svg/SVGLineElement.h
+++ b/Source/core/svg/SVGLineElement.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 {
@@ -38,6 +39,8 @@ public:
SVGAnimatedLength* x2() const { return m_x2.get(); }
SVGAnimatedLength* y2() const { return m_y2.get(); }
+ virtual void trace(Visitor*) override;
+
private:
explicit SVGLineElement(Document&);
@@ -47,10 +50,10 @@ private:
virtual bool selfHasRelativeLengths() const override;
- RefPtr<SVGAnimatedLength> m_x1;
- RefPtr<SVGAnimatedLength> m_y1;
- RefPtr<SVGAnimatedLength> m_x2;
- RefPtr<SVGAnimatedLength> m_y2;
+ RefPtrWillBeMember<SVGAnimatedLength> m_x1;
+ RefPtrWillBeMember<SVGAnimatedLength> m_y1;
+ RefPtrWillBeMember<SVGAnimatedLength> m_x2;
+ RefPtrWillBeMember<SVGAnimatedLength> m_y2;
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGLengthTearOff.cpp ('k') | Source/core/svg/SVGLineElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698