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

Unified Diff: Source/core/svg/SVGFEComponentTransferElement.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/SVGFEComponentTransferElement.h ('k') | Source/core/svg/SVGFECompositeElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEComponentTransferElement.cpp
diff --git a/Source/core/svg/SVGFEComponentTransferElement.cpp b/Source/core/svg/SVGFEComponentTransferElement.cpp
index c29d469ab88490aa0e3d721b6bd5183d51728cd9..644b97d7189d46f476ff59e881acf7d12e438077 100644
--- a/Source/core/svg/SVGFEComponentTransferElement.cpp
+++ b/Source/core/svg/SVGFEComponentTransferElement.cpp
@@ -40,6 +40,12 @@ inline SVGFEComponentTransferElement::SVGFEComponentTransferElement(Document& do
addToPropertyMap(m_in1);
}
+void SVGFEComponentTransferElement::trace(Visitor* visitor)
+{
+ visitor->trace(m_in1);
+ SVGFilterPrimitiveStandardAttributes::trace(visitor);
+}
+
DEFINE_NODE_FACTORY(SVGFEComponentTransferElement)
bool SVGFEComponentTransferElement::isSupportedAttribute(const QualifiedName& attrName)
@@ -55,7 +61,7 @@ void SVGFEComponentTransferElement::parseAttribute(const QualifiedName& name, co
parseAttributeNew(name, value);
}
-PassRefPtr<FilterEffect> SVGFEComponentTransferElement::build(SVGFilterBuilder* filterBuilder, Filter* filter)
+PassRefPtrWillBeRawPtr<FilterEffect> SVGFEComponentTransferElement::build(SVGFilterBuilder* filterBuilder, Filter* filter)
{
FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->currentValue()->value()));
@@ -78,7 +84,7 @@ PassRefPtr<FilterEffect> SVGFEComponentTransferElement::build(SVGFilterBuilder*
alpha = toSVGFEFuncAElement(*element).transferFunction();
}
- RefPtr<FilterEffect> effect = FEComponentTransfer::create(filter, red, green, blue, alpha);
+ RefPtrWillBeRawPtr<FilterEffect> effect = FEComponentTransfer::create(filter, red, green, blue, alpha);
effect->inputEffects().append(input1);
return effect.release();
}
« no previous file with comments | « Source/core/svg/SVGFEComponentTransferElement.h ('k') | Source/core/svg/SVGFECompositeElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698