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

Unified Diff: Source/core/svg/SVGViewElement.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/SVGUseElement.cpp ('k') | Source/core/svg/SVGViewElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGViewElement.h
diff --git a/Source/core/svg/SVGViewElement.h b/Source/core/svg/SVGViewElement.h
index 58afbac0ddd9fe47a1cd2dbfcb8d57943f7ccfd7..86d338b52826604d9722215826919fbaddd9e909 100644
--- a/Source/core/svg/SVGViewElement.h
+++ b/Source/core/svg/SVGViewElement.h
@@ -27,6 +27,7 @@
#include "core/svg/SVGFitToViewBox.h"
#include "core/svg/SVGStaticStringList.h"
#include "core/svg/SVGZoomAndPan.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -34,6 +35,7 @@ class SVGViewElement final : public SVGElement,
public SVGFitToViewBox,
public SVGZoomAndPan {
DEFINE_WRAPPERTYPEINFO();
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGViewElement);
public:
DECLARE_NODE_FACTORY(SVGViewElement);
@@ -44,6 +46,8 @@ public:
SVGStringListTearOff* viewTarget() { return m_viewTarget->tearOff(); }
+ virtual void trace(Visitor*) override;
+
private:
explicit SVGViewElement(Document&);
@@ -51,7 +55,7 @@ private:
virtual bool rendererIsNeeded(const RenderStyle&) override { return false; }
- RefPtr<SVGStaticStringList> m_viewTarget;
+ RefPtrWillBeMember<SVGStaticStringList> m_viewTarget;
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGUseElement.cpp ('k') | Source/core/svg/SVGViewElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698