flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1437209 - /flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
Date Tue, 22 Jan 2013 21:57:44 GMT
Author: cframpton
Date: Tue Jan 22 21:57:44 2013
New Revision: 1437209

URL: http://svn.apache.org/viewvc?rev=1437209&view=rev
Log:
FLEX-22876.  Fix infinite loop in getContentHeight().

Modified:
    flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as

Modified: flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
URL: http://svn.apache.org/viewvc/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as?rev=1437209&r1=1437208&r2=1437209&view=diff
==============================================================================
--- flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
(original)
+++ flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
Tue Jan 22 21:57:44 2013
@@ -1285,7 +1285,10 @@ public class GridDimensions 
         while (node && node.rowIndex < maxRow)  
         {
             if (node.rowIndex < startRowIndex)
+            {
+                node = node.next;
                 continue;
+            }
             contentHeight += getRowHeight(node.rowIndex);
             numRows++;
             node = node.next;
@@ -1902,4 +1905,4 @@ public class GridDimensions 
         return rowList.toString();
     }
 }
-}
\ No newline at end of file
+}



Mime
View raw message