зеркало из https://github.com/mozilla/pjs.git
Bug 399354 - some svg filters not checking in2 requirement.
r=longsonr, sr+a=roc
This commit is contained in:
Родитель
db6940149c
Коммит
07432dd05f
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче