         }
         
         this.constraintCache = cache;
+        constraintCacheNeeded--;
     }
     
     /**

        // Populate rowBaselines with baseline information from rows.
        var n:int = _constraintRows.length;
        var row:ConstraintRow;
        var obj:Object = {};
        if (rowBaselines == null)
            rowBaselines = new Vector.<Array>();
        else

     */
    private function clearConstraintCache():void
    {
        if(!constraintCacheNeeded)
        {
            colSpanElements = null;
            rowSpanElements = null;
            otherElements = null;
            rowBaselines = null;
            rowMaxAscents = null;
            constraintCache = null;
        }
    }
}
}
