diff options
Diffstat (limited to 'WebCore/svg/SVGFEFloodElement.cpp')
-rw-r--r-- | WebCore/svg/SVGFEFloodElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/svg/SVGFEFloodElement.cpp b/WebCore/svg/SVGFEFloodElement.cpp index 321eb8f..53ad910 100644 --- a/WebCore/svg/SVGFEFloodElement.cpp +++ b/WebCore/svg/SVGFEFloodElement.cpp @@ -39,14 +39,14 @@ PassRefPtr<SVGFEFloodElement> SVGFEFloodElement::create(const QualifiedName& tag return adoptRef(new SVGFEFloodElement(tagName, document)); } -PassRefPtr<FilterEffect> SVGFEFloodElement::build(SVGFilterBuilder*) +PassRefPtr<FilterEffect> SVGFEFloodElement::build(SVGFilterBuilder*, Filter* filter) { RefPtr<RenderStyle> filterStyle = styleForRenderer(); Color color = filterStyle->svgStyle()->floodColor(); float opacity = filterStyle->svgStyle()->floodOpacity(); - return FEFlood::create(color, opacity); + return FEFlood::create(filter, color, opacity); } } |