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

Unified Diff: Source/core/svg/SVGLinearGradientElement.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/SVGLineElement.cpp ('k') | Source/core/svg/SVGLinearGradientElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGLinearGradientElement.h
diff --git a/Source/core/svg/SVGLinearGradientElement.h b/Source/core/svg/SVGLinearGradientElement.h
index aaca251aba3177ac62de64b69f4ade4bfef8e81f..bc7ce28fccf23b197e92b3c902f79752a25192f8 100644
--- a/Source/core/svg/SVGLinearGradientElement.h
+++ b/Source/core/svg/SVGLinearGradientElement.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 {
@@ -41,6 +42,8 @@ public:
SVGAnimatedLength* x2() const { return m_x2.get(); }
SVGAnimatedLength* y2() const { return m_y2.get(); }
+ virtual void trace(Visitor*) override;
+
private:
explicit SVGLinearGradientElement(Document&);
@@ -52,10 +55,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/SVGLineElement.cpp ('k') | Source/core/svg/SVGLinearGradientElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698