Changeset 117109 in webkit


Ignore:
Timestamp:
May 15, 2012 11:53:21 AM (12 years ago)
Author:
Darin Adler
Message:

Font copy constructor unnecessarily recalculates transcoding
https://bugs.webkit.org/show_bug.cgi?id=86490

Reviewed by Dan Bernstein.

  • platform/graphics/Font.cpp:

(WebCore::Font::Font): Copy m_needsTranscoding instead of recomputing it.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r117108 r117109  
     12012-05-15  Darin Adler  <darin@apple.com>
     2
     3        Font copy constructor unnecessarily recalculates transcoding
     4        https://bugs.webkit.org/show_bug.cgi?id=86490
     5
     6        Reviewed by Dan Bernstein.
     7
     8        * platform/graphics/Font.cpp:
     9        (WebCore::Font::Font): Copy m_needsTranscoding instead of recomputing it.
     10
    1112012-05-15  Andreas Kling  <kling@webkit.org>
    212
  • trunk/Source/WebCore/platform/graphics/Font.cpp

    r114032 r117109  
    9494    , m_wordSpacing(other.m_wordSpacing)
    9595    , m_isPlatformFont(other.m_isPlatformFont)
    96     , m_needsTranscoding(fontTranscoder().needsTranscoding(other.m_fontDescription))
     96    , m_needsTranscoding(other.m_needsTranscoding)
    9797{
    9898}
Note: See TracChangeset for help on using the changeset viewer.