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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months 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
Index: third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp
index 15ad658a6423e98d72551790ef31a6cf86f153db..39e9270e1b167bf25b3d0804cd89b19846ed6339 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.cpp
@@ -73,7 +73,7 @@ void SVGFEDropShadowElement::svgAttributeChanged(const QualifiedName& attrName)
SVGFilterPrimitiveStandardAttributes::svgAttributeChanged(attrName);
}
-PassRefPtrWillBeRawPtr<FilterEffect> SVGFEDropShadowElement::build(SVGFilterBuilder* filterBuilder, Filter* filter)
+RawPtr<FilterEffect> SVGFEDropShadowElement::build(SVGFilterBuilder* filterBuilder, Filter* filter)
{
LayoutObject* layoutObject = this->layoutObject();
if (!layoutObject)
@@ -91,7 +91,7 @@ PassRefPtrWillBeRawPtr<FilterEffect> SVGFEDropShadowElement::build(SVGFilterBuil
// Clamp std.dev. to non-negative. (See SVGFEGaussianBlurElement::build)
float stdDevX = std::max(0.0f, stdDeviationX()->currentValue()->value());
float stdDevY = std::max(0.0f, stdDeviationY()->currentValue()->value());
- RefPtrWillBeRawPtr<FilterEffect> effect = FEDropShadow::create(filter, stdDevX, stdDevY, m_dx->currentValue()->value(), m_dy->currentValue()->value(), color, opacity);
+ RawPtr<FilterEffect> effect = FEDropShadow::create(filter, stdDevX, stdDevY, m_dx->currentValue()->value(), m_dy->currentValue()->value(), color, opacity);
effect->inputEffects().append(input1);
return effect.release();
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGFEDropShadowElement.h ('k') | third_party/WebKit/Source/core/svg/SVGFEFloodElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698