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

Unified Diff: Source/core/svg/SVGStopElement.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/SVGStaticStringList.cpp ('k') | Source/core/svg/SVGStopElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGStopElement.h
diff --git a/Source/core/svg/SVGStopElement.h b/Source/core/svg/SVGStopElement.h
index 633e9839b5f1b08e49459c7121dedcbaab44c500..d780fd20167652a77405a92fed785cf42a3e929d 100644
--- a/Source/core/svg/SVGStopElement.h
+++ b/Source/core/svg/SVGStopElement.h
@@ -24,6 +24,7 @@
#include "core/SVGNames.h"
#include "core/svg/SVGAnimatedNumber.h"
#include "core/svg/SVGElement.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -36,6 +37,8 @@ public:
SVGAnimatedNumber* offset() { return m_offset.get(); }
+ virtual void trace(Visitor*) override;
+
private:
explicit SVGStopElement(Document&);
@@ -45,7 +48,7 @@ private:
virtual RenderObject* createRenderer(RenderStyle*) override;
virtual bool rendererIsNeeded(const RenderStyle&) override;
- RefPtr<SVGAnimatedNumber> m_offset;
+ RefPtrWillBeMember<SVGAnimatedNumber> m_offset;
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGStaticStringList.cpp ('k') | Source/core/svg/SVGStopElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698