Changeset 159081 in webkit


Ignore:
Timestamp:
Nov 11, 2013 4:33:24 PM (10 years ago)
Author:
Brent Fulgham
Message:

[Win] m_isCompositeFontReference is uninitialized.
https://bugs.webkit.org/show_bug.cgi?id=124170

Reviewed by Tim Horton.

Initialize value to false, as is done in the other constructors for this data type.

  • platform/graphics/win/FontPlatformDataCGWin.cpp:

(WebCore::FontPlatformData::FontPlatformData):

  • platform/graphics/win/FontPlatformDataCairoWin.cpp:

(WebCore::FontPlatformData::FontPlatformData):

  • platform/graphics/win/FontPlatformDataWin.cpp:

(WebCore::FontPlatformData::FontPlatformData):

Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r159076 r159081  
     12013-11-11  Brent Fulgham  <bfulgham@apple.com>
     2
     3        [Win] m_isCompositeFontReference is uninitialized.
     4        https://bugs.webkit.org/show_bug.cgi?id=124170
     5
     6        Reviewed by Tim Horton.
     7
     8        Initialize value to false, as is done in the other constructors for this data type.
     9
     10        * platform/graphics/win/FontPlatformDataCGWin.cpp:
     11        (WebCore::FontPlatformData::FontPlatformData):
     12        * platform/graphics/win/FontPlatformDataCairoWin.cpp:
     13        (WebCore::FontPlatformData::FontPlatformData):
     14        * platform/graphics/win/FontPlatformDataWin.cpp:
     15        (WebCore::FontPlatformData::FontPlatformData):
     16
    1172013-11-11  Myles C. Maxfield  <mmaxfield@apple.com>
    218
  • trunk/Source/WebCore/platform/graphics/win/FontPlatformDataCGWin.cpp

    r155557 r159081  
    125125    , m_cgFont(font)
    126126    , m_isColorBitmapFont(false)
     127    , m_isCompositeFontReference(false)
    127128    , m_useGDI(useGDI)
    128129{
  • trunk/Source/WebCore/platform/graphics/win/FontPlatformDataCairoWin.cpp

    r155557 r159081  
    6363    , m_widthVariant(RegularWidth)
    6464    , m_scaledFont(0)
     65    , m_isCompositeFontReference(false)
    6566    , m_isColorBitmapFont(false)
    6667    , m_syntheticBold(bold)
  • trunk/Source/WebCore/platform/graphics/win/FontPlatformDataWin.cpp

    r155557 r159081  
    4949#endif
    5050    , m_isColorBitmapFont(false)
     51    , m_isCompositeFontReference(false)
    5152    , m_syntheticBold(bold)
    5253    , m_syntheticOblique(oblique)
Note: See TracChangeset for help on using the changeset viewer.