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

Unified Diff: Source/core/svg/SVGUseElement.cpp

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/SVGUseElement.cpp
diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp
index eda255993b0ce5a910c1edc6a38919abf71d8e90..66e69410e1318018a49f161451ff07390bfa31fc 100644
--- a/Source/core/svg/SVGUseElement.cpp
+++ b/Source/core/svg/SVGUseElement.cpp
@@ -78,6 +78,17 @@ SVGUseElement::~SVGUseElement()
#endif
}
+void SVGUseElement::trace(Visitor* visitor)
+{
+ visitor->trace(m_x);
+ visitor->trace(m_y);
+ visitor->trace(m_width);
+ visitor->trace(m_height);
+ visitor->trace(m_targetElementInstance);
+ SVGGraphicsElement::trace(visitor);
+ SVGURIReference::trace(visitor);
+}
+
bool SVGUseElement::isSupportedAttribute(const QualifiedName& attrName)
{
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ());
@@ -750,10 +761,4 @@ void SVGUseElement::setDocumentResource(ResourcePtr<DocumentResource> resource)
m_resource->addClient(this);
}
-void SVGUseElement::trace(Visitor* visitor)
-{
- visitor->trace(m_targetElementInstance);
- SVGGraphicsElement::trace(visitor);
-}
-
}

Powered by Google App Engine
This is Rietveld 408576698