Bug 470571, r=longsonr, sr=roc
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Sat, 27 Dec 2008 21:20:44 +0200
changeset 23132 4b66625f9fd46fdef3e2dbf019803b039227168b
parent 23131 cbebc0ecef83602443ec0d15f35793e98ad28e3b
child 23133 b5e0fbf1c5c5aff5924fb7a9a4ee9e6c191b58b1
push id4353
push useropettay@mozilla.com
push dateSat, 27 Dec 2008 19:21:11 +0000
treeherdermozilla-central@4b66625f9fd4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslongsonr, roc
bugs470571
milestone1.9.2a1pre
Bug 470571, r=longsonr, sr=roc
content/svg/content/src/nsSVGElement.cpp
--- a/content/svg/content/src/nsSVGElement.cpp
+++ b/content/svg/content/src/nsSVGElement.cpp
@@ -589,17 +589,19 @@ nsSVGElement::UnsetAttr(PRInt32 aNamespa
     }
   }
 
   if (!foundMatch) {
     // Now check for one of the old style basetypes going away
     nsCOMPtr<nsISVGValue> svg_value = GetMappedAttribute(aNamespaceID, aName);
 
     if (svg_value) {
+      mSuppressNotification = PR_TRUE;
       ResetOldStyleBaseType(svg_value);
+      mSuppressNotification = PR_FALSE;
     }
   }
 
   return nsSVGElementBase::UnsetAttr(aNamespaceID, aName, aNotify);
 }
 
 void
 nsSVGElement::ResetOldStyleBaseType(nsISVGValue *svg_value)