You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cf...@apache.org on 2013/01/22 22:57:44 UTC
svn commit: r1437209 -
/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
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
+}