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 id18043
push userdholbert@mozilla.com
push dateFri, 14 Jan 2011 21:30:32 +0000
treeherdermozilla-central@60cbff9cbab0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs625800
milestone2.0b10pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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