nsresult nsSMILAnimationFunction::SetAdditive(const nsAString& aAdditive, nsAttrValue& aResult) { mHasChanged = PR_TRUE; PRBool parseResult = aResult.ParseEnumValue(aAdditive, sAdditiveTable, PR_TRUE); SetAdditiveErrorFlag(!parseResult); return parseResult ? NS_OK : NS_ERROR_FAILURE; }
void nsSMILAnimationFunction::UnsetAdditive() { SetAdditiveErrorFlag(PR_FALSE); mHasChanged = PR_TRUE; }
void nsSMILAnimationFunction::UnsetAdditive() { SetAdditiveErrorFlag(false); mHasChanged = true; }