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

Unified Diff: Source/core/svg/SVGFETurbulenceElement.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/SVGFETurbulenceElement.h ('k') | Source/core/svg/SVGFilterElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFETurbulenceElement.cpp
diff --git a/Source/core/svg/SVGFETurbulenceElement.cpp b/Source/core/svg/SVGFETurbulenceElement.cpp
index 906650d8c10a004deefd5c156966280402d04d8b..b9335bd78a12923f2a84aada7f5b8197087b17c1 100644
--- a/Source/core/svg/SVGFETurbulenceElement.cpp
+++ b/Source/core/svg/SVGFETurbulenceElement.cpp
@@ -62,6 +62,16 @@ inline SVGFETurbulenceElement::SVGFETurbulenceElement(Document& document)
addToPropertyMap(m_numOctaves);
}
+void SVGFETurbulenceElement::trace(Visitor* visitor)
+{
+ visitor->trace(m_baseFrequency);
+ visitor->trace(m_seed);
+ visitor->trace(m_stitchTiles);
+ visitor->trace(m_type);
+ visitor->trace(m_numOctaves);
+ SVGFilterPrimitiveStandardAttributes::trace(visitor);
+}
+
DEFINE_NODE_FACTORY(SVGFETurbulenceElement)
bool SVGFETurbulenceElement::isSupportedAttribute(const QualifiedName& attrName)
@@ -124,7 +134,7 @@ void SVGFETurbulenceElement::svgAttributeChanged(const QualifiedName& attrName)
ASSERT_NOT_REACHED();
}
-PassRefPtr<FilterEffect> SVGFETurbulenceElement::build(SVGFilterBuilder*, Filter* filter)
+PassRefPtrWillBeRawPtr<FilterEffect> SVGFETurbulenceElement::build(SVGFilterBuilder*, Filter* filter)
{
if (baseFrequencyX()->currentValue()->value() < 0 || baseFrequencyY()->currentValue()->value() < 0)
return nullptr;
« no previous file with comments | « Source/core/svg/SVGFETurbulenceElement.h ('k') | Source/core/svg/SVGFilterElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698