     override protected function updateDisplayList(unscaledWidth:Number, 
                                                   unscaledHeight:Number):void
     {
-        //trace(id, drawnDisplayObject.name, "updateDisplayList", unscaledWidth, unscaledHeight);
-
+        //trace(id, drawnDisplayObject.name, "updateDisplayList", unscaledWidth, unscaledHeight);  
         super.updateDisplayList(unscaledWidth, unscaledHeight);
-
-        // The updateDisplayList() method of a GraphicElement can get called
-        // when its style chain hasn't been initialized
-        // or when no DisplayObject has been assigned to it.
-        if (!styleChainInitialized)
-            return;
-        
-        // FIXME (rfrishbe): do we still need this?
-        if (visibleChanged)
-        {
-            visibleChanged = false;
-            
-            var n:int = textLines.length;
-            for (var i:int = 0; i < n; i++)
-            {
-                if (designLayer)
-                    textLines[i].visible = visible && designLayer.effectiveVisibility;
-                else
-                    textLines[i].visible = visible;
-            }
-        }
 
         // Figure out if a compose is needed or maybe just clip what is already
         // composed.

    }

    //----------------------------------
    //  styleChainInitialized
    //----------------------------------

    /**
     *  @private
     */
    mx_internal function get styleChainInitialized():Boolean
    {
        return inheritingStyles != StyleProtoChain.STYLE_UNINITIALIZED &&
               nonInheritingStyles != StyleProtoChain.STYLE_UNINITIALIZED;
    }

    //----------------------------------
    //  text
    //----------------------------------


 *  @productversion Flex 4
 */
public class TextBase extends UIComponent
{
    include "../../core/Version.as";

