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

Unified Diff: Source/core/svg/SVGComponentTransferFunctionElement.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/SVGClipPathElement.cpp ('k') | Source/core/svg/SVGComponentTransferFunctionElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGComponentTransferFunctionElement.h
diff --git a/Source/core/svg/SVGComponentTransferFunctionElement.h b/Source/core/svg/SVGComponentTransferFunctionElement.h
index d4c4887b456020e2194360fb89016dac41b857a9..fdb6c0b16ebbfd033fcec4e753c4cc249e005dc1 100644
--- a/Source/core/svg/SVGComponentTransferFunctionElement.h
+++ b/Source/core/svg/SVGComponentTransferFunctionElement.h
@@ -26,6 +26,7 @@
#include "core/svg/SVGAnimatedNumberList.h"
#include "core/svg/SVGElement.h"
#include "platform/graphics/filters/FEComponentTransfer.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -44,6 +45,8 @@ public:
SVGAnimatedNumber* offset() { return m_offset.get(); }
SVGAnimatedEnumeration<ComponentTransferType>* type() { return m_type.get(); }
+ virtual void trace(Visitor*) override;
+
protected:
SVGComponentTransferFunctionElement(const QualifiedName&, Document&);
@@ -54,13 +57,13 @@ protected:
virtual bool rendererIsNeeded(const RenderStyle&) override final { return false; }
private:
- RefPtr<SVGAnimatedNumberList> m_tableValues;
- RefPtr<SVGAnimatedNumber> m_slope;
- RefPtr<SVGAnimatedNumber> m_intercept;
- RefPtr<SVGAnimatedNumber> m_amplitude;
- RefPtr<SVGAnimatedNumber> m_exponent;
- RefPtr<SVGAnimatedNumber> m_offset;
- RefPtr<SVGAnimatedEnumeration<ComponentTransferType> > m_type;
+ RefPtrWillBeMember<SVGAnimatedNumberList> m_tableValues;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_slope;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_intercept;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_amplitude;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_exponent;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_offset;
+ RefPtrWillBeMember<SVGAnimatedEnumeration<ComponentTransferType> > m_type;
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGClipPathElement.cpp ('k') | Source/core/svg/SVGComponentTransferFunctionElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698