From 07432dd05f1d7ed390bcf3dccec7f1a4571f9699 Mon Sep 17 00:00:00 2001 From: "tor%cs.brown.edu" Date: Thu, 11 Oct 2007 20:08:38 +0000 Subject: [PATCH] Bug 399354 - some svg filters not checking in2 requirement. r=longsonr, sr+a=roc --- content/svg/content/src/nsSVGFilters.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/svg/content/src/nsSVGFilters.cpp b/content/svg/content/src/nsSVGFilters.cpp index 6de6f8eaf88..4074687214e 100644 --- a/content/svg/content/src/nsSVGFilters.cpp +++ b/content/svg/content/src/nsSVGFilters.cpp @@ -1078,7 +1078,7 @@ nsSVGFEBlendElement::Filter(nsSVGFilterInstance *instance) NS_IMETHODIMP nsSVGFEBlendElement::GetRequirements(PRUint32 *aRequirements) { - *aRequirements = CheckStandardNames(mIn1); + *aRequirements = CheckStandardNames(mIn1) | CheckStandardNames(mIn2); return NS_OK; } @@ -1694,7 +1694,7 @@ nsSVGFECompositeElement::Filter(nsSVGFilterInstance *instance) NS_IMETHODIMP nsSVGFECompositeElement::GetRequirements(PRUint32 *aRequirements) { - *aRequirements = CheckStandardNames(mIn1); + *aRequirements = CheckStandardNames(mIn1) | CheckStandardNames(mIn2); return NS_OK; }