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

Unified Diff: Source/core/svg/SVGFEGaussianBlurElement.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/SVGFEGaussianBlurElement.h ('k') | Source/core/svg/SVGFEImageElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEGaussianBlurElement.cpp
diff --git a/Source/core/svg/SVGFEGaussianBlurElement.cpp b/Source/core/svg/SVGFEGaussianBlurElement.cpp
index d8ba680c419b0fdcf05db5f6dc39853b9bc29b96..83810b2f51b643126a6537696b163acb5795b4bf 100644
--- a/Source/core/svg/SVGFEGaussianBlurElement.cpp
+++ b/Source/core/svg/SVGFEGaussianBlurElement.cpp
@@ -38,6 +38,13 @@ inline SVGFEGaussianBlurElement::SVGFEGaussianBlurElement(Document& document)
addToPropertyMap(m_in1);
}
+void SVGFEGaussianBlurElement::trace(Visitor* visitor)
+{
+ visitor->trace(m_stdDeviation);
+ visitor->trace(m_in1);
+ SVGFilterPrimitiveStandardAttributes::trace(visitor);
+}
+
DEFINE_NODE_FACTORY(SVGFEGaussianBlurElement)
void SVGFEGaussianBlurElement::setStdDeviation(float x, float y)
@@ -79,7 +86,7 @@ void SVGFEGaussianBlurElement::svgAttributeChanged(const QualifiedName& attrName
ASSERT_NOT_REACHED();
}
-PassRefPtr<FilterEffect> SVGFEGaussianBlurElement::build(SVGFilterBuilder* filterBuilder, Filter* filter)
+PassRefPtrWillBeRawPtr<FilterEffect> SVGFEGaussianBlurElement::build(SVGFilterBuilder* filterBuilder, Filter* filter)
{
FilterEffect* input1 = filterBuilder->getEffectById(AtomicString(m_in1->currentValue()->value()));
@@ -89,7 +96,7 @@ PassRefPtr<FilterEffect> SVGFEGaussianBlurElement::build(SVGFilterBuilder* filte
if (stdDeviationX()->currentValue()->value() < 0 || stdDeviationY()->currentValue()->value() < 0)
return nullptr;
- RefPtr<FilterEffect> effect = FEGaussianBlur::create(filter, stdDeviationX()->currentValue()->value(), stdDeviationY()->currentValue()->value());
+ RefPtrWillBeRawPtr<FilterEffect> effect = FEGaussianBlur::create(filter, stdDeviationX()->currentValue()->value(), stdDeviationY()->currentValue()->value());
effect->inputEffects().append(input1);
return effect.release();
}
« no previous file with comments | « Source/core/svg/SVGFEGaussianBlurElement.h ('k') | Source/core/svg/SVGFEImageElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698