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

Unified Diff: Source/core/svg/SVGFETileElement.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/SVGFETileElement.h ('k') | Source/core/svg/SVGFETurbulenceElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFETileElement.cpp
diff --git a/Source/core/svg/SVGFETileElement.cpp b/Source/core/svg/SVGFETileElement.cpp
index 260d01f00976f7682434facec88f2940fef20eab..7e044810fb6f375b91669e800c0a635c6e5c8c5a 100644
--- a/Source/core/svg/SVGFETileElement.cpp
+++ b/Source/core/svg/SVGFETileElement.cpp
@@ -35,6 +35,12 @@ inline SVGFETileElement::SVGFETileElement(Document& document)
addToPropertyMap(m_in1);
}
+void SVGFETileElement::trace(Visitor* visitor)
+{
+ visitor->trace(m_in1);
+ SVGFilterPrimitiveStandardAttributes::trace(visitor);
+}
+
DEFINE_NODE_FACTORY(SVGFETileElement)
void SVGFETileElement::parseAttribute(const QualifiedName& name, const AtomicString& value)
@@ -53,14 +59,14 @@ void SVGFETileElement::svgAttributeChanged(const QualifiedName& attrName)
SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName);
}
-PassRefPtr<FilterEffect> SVGFETileElement::build(SVGFilterBuilder* filterBuilder, Filter* filter)
+PassRefPtrWillBeRawPtr<FilterEffect> SVGFETileElement::build(SVGFilterBuilder* filterBuilder, Filter* filter)
{
FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->currentValue()->value()));
if (!input1)
return nullptr;
- RefPtr<FilterEffect> effect = FETile::create(filter);
+ RefPtrWillBeRawPtr<FilterEffect> effect = FETile::create(filter);
effect->inputEffects().append(input1);
return effect.release();
}
« no previous file with comments | « Source/core/svg/SVGFETileElement.h ('k') | Source/core/svg/SVGFETurbulenceElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698