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

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 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.h ('k') | Source/core/svg/SVGViewElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGUseElement.cpp
diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp
index f228ee62b5bda477218cbb384b953dbdc185b22e..c1b0beaf5d413459994262e428e137e9677d19e4 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);
-}
-
}
« no previous file with comments | « Source/core/svg/SVGUseElement.h ('k') | Source/core/svg/SVGViewElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698