Backed out changeset ce62f87104e1
authorKyle Huey <me@kylehuey.com>
Fri, 15 Oct 2010 12:53:00 -0400
changeset 55880 defdd7460560ab60ac5e054364e3ff302b1e1fd2
parent 55870 ce62f87104e1863e89c4a7174ff4cdc78f1f41eb
child 55881 c56b47b3b6c7efe1ff4268b0d7d474401b1f4e95
push id16322
push userkhuey@kylehuey.com
push dateFri, 15 Oct 2010 17:38:02 +0000
treeherdermozilla-central@c56b47b3b6c7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone2.0b8pre
backs outce62f87104e1863e89c4a7174ff4cdc78f1f41eb
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
Backed out changeset ce62f87104e1
content/html/content/src/nsHTMLFieldSetElement.cpp
--- a/content/html/content/src/nsHTMLFieldSetElement.cpp
+++ b/content/html/content/src/nsHTMLFieldSetElement.cpp
@@ -188,17 +188,17 @@ nsHTMLFieldSetElement::InsertChildAt(nsI
 
   if (aChild->IsHTML(nsGkAtoms::legend)) {
     if (!mFirstLegend) {
       mFirstLegend = aChild;
       // We do not want to notify the first time mFirstElement is set.
     } else {
       // If mFirstLegend is before aIndex, we do not change it.
       // Otherwise, mFirstLegend is now aChild.
-      if (PRInt32(aIndex) <= IndexOf(mFirstLegend)) {
+      if (aIndex <= IndexOf(mFirstLegend)) {
         mFirstLegend = aChild;
         firstLegendHasChanged = true;
       }
     }
   }
 
   nsresult rv = nsGenericHTMLFormElement::InsertChildAt(aChild, aIndex, aNotify);
   NS_ENSURE_SUCCESS(rv, rv);