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

Unified Diff: Source/core/svg/SVGForeignObjectElement.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/SVGFitToViewBox.cpp ('k') | Source/core/svg/SVGForeignObjectElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGForeignObjectElement.h
diff --git a/Source/core/svg/SVGForeignObjectElement.h b/Source/core/svg/SVGForeignObjectElement.h
index fb4fdfdfb76b2dbe6d657ea9bc5aa08a9a649809..cd89c9f14582e4233adb64e6ed2865249c7d0f4e 100644
--- a/Source/core/svg/SVGForeignObjectElement.h
+++ b/Source/core/svg/SVGForeignObjectElement.h
@@ -25,6 +25,7 @@
#include "core/svg/SVGAnimatedLength.h"
#include "core/svg/SVGGraphicsElement.h"
#include "core/svg/SVGURIReference.h"
+#include "platform/heap/Handle.h"
namespace blink {
@@ -38,6 +39,8 @@ public:
SVGAnimatedLength* width() const { return m_width.get(); }
SVGAnimatedLength* height() const { return m_height.get(); }
+ virtual void trace(Visitor*) override;
+
private:
explicit SVGForeignObjectElement(Document&);
@@ -52,10 +55,10 @@ private:
virtual bool selfHasRelativeLengths() const override;
- 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;
};
} // namespace blink
« no previous file with comments | « Source/core/svg/SVGFitToViewBox.cpp ('k') | Source/core/svg/SVGForeignObjectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698