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

Unified Diff: Source/core/svg/SVGLinearGradientElement.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/SVGLinearGradientElement.h ('k') | Source/core/svg/SVGMPathElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGLinearGradientElement.cpp
diff --git a/Source/core/svg/SVGLinearGradientElement.cpp b/Source/core/svg/SVGLinearGradientElement.cpp
index 17ffb0bf7753ebc6f36f1bd14ff9d41211a22b6a..2b98ab30e34508e472147da1b46430050ec72e02 100644
--- a/Source/core/svg/SVGLinearGradientElement.cpp
+++ b/Source/core/svg/SVGLinearGradientElement.cpp
@@ -48,6 +48,15 @@ inline SVGLinearGradientElement::SVGLinearGradientElement(Document& document)
addToPropertyMap(m_y2);
}
+void SVGLinearGradientElement::trace(Visitor* visitor)
+{
+ visitor->trace(m_x1);
+ visitor->trace(m_y1);
+ visitor->trace(m_x2);
+ visitor->trace(m_y2);
+ SVGGradientElement::trace(visitor);
+}
+
DEFINE_NODE_FACTORY(SVGLinearGradientElement)
bool SVGLinearGradientElement::isSupportedAttribute(const QualifiedName& attrName)
« no previous file with comments | « Source/core/svg/SVGLinearGradientElement.h ('k') | Source/core/svg/SVGMPathElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698