Index: Source/core/svg/SVGFEMergeElement.cpp |
diff --git a/Source/core/svg/SVGFEMergeElement.cpp b/Source/core/svg/SVGFEMergeElement.cpp |
index f5a3fe17d02a491d0596bc43244a9b2c4520f61d..f632e3f1dce86f9a11cb135592979011b2129c33 100644 |
--- a/Source/core/svg/SVGFEMergeElement.cpp |
+++ b/Source/core/svg/SVGFEMergeElement.cpp |
@@ -47,7 +47,7 @@ PassRefPtr<FilterEffect> SVGFEMergeElement::build(SVGFilterBuilder* filterBuilde |
FilterEffectVector& mergeInputs = effect->inputEffects(); |
for (Node* node = firstChild(); node; node = node->nextSibling()) { |
if (node->hasTagName(SVGNames::feMergeNodeTag)) { |
- FilterEffect* mergeEffect = filterBuilder->getEffectById(static_cast<SVGFEMergeNodeElement*>(node)->in1()); |
+ FilterEffect* mergeEffect = filterBuilder->getEffectById(static_cast<SVGFEMergeNodeElement*>(node)->in1CurrentValue()); |
if (!mergeEffect) |
return 0; |
mergeInputs.append(mergeEffect); |