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

Unified Diff: Source/core/svg/SVGUseElement.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/SVGURIReference.cpp ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGUseElement.h
diff --git a/Source/core/svg/SVGUseElement.h b/Source/core/svg/SVGUseElement.h
index c7ee145ea0c3f878c377915a31b0cbf65e7c768d..c38e09f1752f43976c3ea5780650fcb6b8c1a922 100644
--- a/Source/core/svg/SVGUseElement.h
+++ b/Source/core/svg/SVGUseElement.h
@@ -27,6 +27,7 @@
#include "core/svg/SVGAnimatedLength.h"
#include "core/svg/SVGGraphicsElement.h"
#include "core/svg/SVGURIReference.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -36,6 +37,7 @@ class SVGUseElement final : public SVGGraphicsElement,
public SVGURIReference,
public DocumentResourceClient {
DEFINE_WRAPPERTYPEINFO();
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGUseElement);
public:
static PassRefPtrWillBeRawPtr<SVGUseElement> create(Document&);
virtual ~SVGUseElement();
@@ -95,10 +97,10 @@ private:
virtual Timer<SVGElement>* svgLoadEventTimer() override { return &m_svgLoadEventTimer; }
- RefPtr<SVGAnimatedLength> m_x;
- RefPtr<SVGAnimatedLength> m_y;
- RefPtr<SVGAnimatedLength> m_width;
- RefPtr<SVGAnimatedLength> m_height;
+ RefPtrWillBeMember<SVGAnimatedLength> m_x;
+ RefPtrWillBeMember<SVGAnimatedLength> m_y;
+ RefPtrWillBeMember<SVGAnimatedLength> m_width;
+ RefPtrWillBeMember<SVGAnimatedLength> m_height;
bool m_haveFiredLoadEvent;
bool m_needsShadowTreeRecreation;
« no previous file with comments | « Source/core/svg/SVGURIReference.cpp ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698