Bug 625800: Add missing outparam-setting in SMILAnimatedNumberList::ValueFromString. r+a=roc
authorDaniel Holbert <dholbert@cs.stanford.edu>
Fri, 14 Jan 2011 13:30:09 -0800
changeset 60613 60cbff9cbab0238b48f49d7003edf64640ebc0e3
parent 60612 0609193325c9eb082e323370847295c20fba939a
child 60616 a8f84cf5447ea43d00a08fdf48034af685c15143
push idunknown
push userunknown
push dateunknown
bugs625800
milestone2.0b10pre
Bug 625800: Add missing outparam-setting in SMILAnimatedNumberList::ValueFromString. r+a=roc
content/svg/content/src/SVGAnimatedNumberList.cpp
--- a/content/svg/content/src/SVGAnimatedNumberList.cpp
+++ b/content/svg/content/src/SVGAnimatedNumberList.cpp
@@ -166,16 +166,17 @@ SVGAnimatedNumberList::
 {
   nsSMILValue val(&SVGNumberListSMILType::sSingleton);
   SVGNumberListAndInfo *nlai = static_cast<SVGNumberListAndInfo*>(val.mU.mPtr);
   nsresult rv = nlai->SetValueFromString(aStr);
   if (NS_SUCCEEDED(rv)) {
     nlai->SetInfo(mElement);
     aValue.Swap(val);
   }
+  aPreventCachingOfSandwich = PR_FALSE;
   return rv;
 }
 
 nsSMILValue
 SVGAnimatedNumberList::SMILAnimatedNumberList::GetBaseValue() const
 {
   // To benefit from Return Value Optimization and avoid copy constructor calls
   // due to our use of return-by-value, we must return the exact same object