         if (validatingElt)        
             validatingElt.validateNow();
         elt.setLayoutBoundsPosition(x, y);
+        
+        if (enablePerformanceStatistics)
+        {
+            var elapsedTime:Number = getTimer() - startTime;
+            performanceStatistics.layoutGridElementTimes.push(elapsedTime);            
+        }
     }
 
     private function layoutGridElementR(elt:IVisualElement, bounds:Rectangle):void

        grid.measuredHeight = Math.ceil(measuredHeight);
        grid.measuredMinWidth = Math.ceil(measuredMinWidth);    
        grid.measuredMinHeight = Math.ceil(measuredMinHeight);
    }
    
    /**


package spark.components.supportClasses
{
import flash.events.Event;
import flash.geom.Point;
import flash.geom.Rectangle;
import flash.utils.Dictionary;
import flash.utils.getTimer;

import mx.collections.IList;
import mx.core.IFactory;
