0 Replies Latest reply on Dec 7, 2009 10:08 AM by Darrell Loverin

    [svn:fx-trunk] 12610: Fix RTE in EmbeddedFontRegistry.

    Darrell Loverin Level 4

      Revision: 12610

      Revision: 12610

      Author:   dloverin@adobe.com

      Date:     2009-12-07 10:08:38 -0800 (Mon, 07 Dec 2009)

      Log Message:

      ***********

      Fix RTE in EmbeddedFontRegistry.

       

      projects/framework/src/mx/managers/SystemManager.as

      ?\226?\128?\162         I added back the "mx.styles::IStyleManager" interface. I investigated the file history and found the code was removed during frame1 cleanup.

       

      projects/framework/src/mx/core/EmbeddedFontRegistry.as

      ?\226?\128?\162         Fix RTE by only getting a ResourceManager instance when it is needed. The RTE happened when an RSL with embedded fonts, loading in frame1 created the registry. The ResourceManager is not ready at this point.

       

      projects/framework/src/mx/styles/IStyleManager2.as

      projects/framework/src/mx/styles/StyleManagerImpl.as

      ?\226?\128?\162         Removed parent setter. PARB approved.

      ?\226?\128?\162         Removed hasEventListener() check in dispatchInheritingStylesChangeEvent(). Each call to dispatchInheritingStylesChangeEvent() was already guarded with a listener check.

       

       

       

      QE notes: None.

      Doc notes: None.

      Bugs: SDK-24467

      Reviewer: Alex, Corey

      Tests run: checkintests, PerModuleStyles

      Is noteworthy for integration: no

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/SDK-24467

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFontRegistry.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager2.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as