Index: Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
diff --git a/Source/core/rendering/svg/ReferenceFilterBuilder.cpp b/Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
index 3e1080de4caaf850921c2c6788fc7dcd64aab19b..3bb0c32b4e09cf42268e4ab6cad0441f4c5f782d 100644 |
--- a/Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
+++ b/Source/core/rendering/svg/ReferenceFilterBuilder.cpp |
@@ -109,7 +109,7 @@ static bool getSVGElementColorSpace(SVGElement* svgElement, ColorSpace& cs) |
return true; |
} |
-PassRefPtr<FilterEffect> ReferenceFilterBuilder::build(Filter* parentFilter, RenderObject* renderer, FilterEffect* previousEffect, const ReferenceFilterOperation* filterOperation) |
+PassRefPtrWillBeRawPtr<FilterEffect> ReferenceFilterBuilder::build(Filter* parentFilter, RenderObject* renderer, FilterEffect* previousEffect, const ReferenceFilterOperation* filterOperation) |
{ |
if (!renderer) |
return nullptr; |
@@ -147,7 +147,7 @@ PassRefPtr<FilterEffect> ReferenceFilterBuilder::build(Filter* parentFilter, Ren |
// wrong. We should probably be extracting the alpha from the |
// previousEffect, but this requires some more processing. |
// This may need a spec clarification. |
- RefPtr<SVGFilterBuilder> builder = SVGFilterBuilder::create(previousEffect, SourceAlpha::create(parentFilter)); |
+ RefPtrWillBeRawPtr<SVGFilterBuilder> builder = SVGFilterBuilder::create(previousEffect, SourceAlpha::create(parentFilter)); |
ColorSpace filterColorSpace = ColorSpaceDeviceRGB; |
bool useFilterColorSpace = getSVGElementColorSpace(&filterElement, filterColorSpace); |
@@ -158,7 +158,7 @@ PassRefPtr<FilterEffect> ReferenceFilterBuilder::build(Filter* parentFilter, Ren |
SVGFilterPrimitiveStandardAttributes* effectElement = static_cast<SVGFilterPrimitiveStandardAttributes*>(element); |
- RefPtr<FilterEffect> effect = effectElement->build(builder.get(), parentFilter); |
+ RefPtrWillBeRawPtr<FilterEffect> effect = effectElement->build(builder.get(), parentFilter); |
if (!effect) |
continue; |