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

Unified Diff: Source/core/svg/SVGCursorElement.h

Issue 678163002: Oilpan: move SVG property hierarchy to the heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 2 months 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
Index: Source/core/svg/SVGCursorElement.h
diff --git a/Source/core/svg/SVGCursorElement.h b/Source/core/svg/SVGCursorElement.h
index 84269e519cbb4bfce9df67eada875a4e0fef38b2..cd45236ac2863b16c0e22aaacdce0ed4cffeb141 100644
--- a/Source/core/svg/SVGCursorElement.h
+++ b/Source/core/svg/SVGCursorElement.h
@@ -26,6 +26,7 @@
#include "core/svg/SVGElement.h"
#include "core/svg/SVGTests.h"
#include "core/svg/SVGURIReference.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -33,6 +34,7 @@ class SVGCursorElement final : public SVGElement,
public SVGTests,
public SVGURIReference {
DEFINE_WRAPPERTYPEINFO();
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGCursorElement);
public:
DECLARE_NODE_FACTORY(SVGCursorElement);
@@ -60,8 +62,8 @@ private:
virtual bool rendererIsNeeded(const RenderStyle&) override { return false; }
- RefPtr<SVGAnimatedLength> m_x;
- RefPtr<SVGAnimatedLength> m_y;
+ RefPtrWillBeMember<SVGAnimatedLength> m_x;
+ RefPtrWillBeMember<SVGAnimatedLength> m_y;
WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> > m_clients;
};

Powered by Google App Engine
This is Rietveld 408576698