Changeset 178142 in webkit


Ignore:
Timestamp:
Jan 8, 2015 3:51:11 PM (9 years ago)
Author:
Brent Fulgham
Message:

[Win] Build fix after r178133.

  • platform/graphics/FontCache.h: Correct declaration of fontDataFromDescriptionAndLogFont
  • platform/graphics/SimpleFontData.h: We still need 'platformDestroy'
  • platform/graphics/mac/SimpleFontDataMac.mm:

(WebCore::SimpleFontData::platformDestroy): Add stub back to prevent build break.

  • platform/graphics/win/FontCacheWin.cpp:

(WebCore::FontCache::fontDataFromDescriptionAndLogFont): Correct signature.
(WebCore::FontCache::lastResortFallbackFont): Correct '::' syntax.
(WebCore::FontCache:lastResortFallbackFont): Deleted.

Location:
trunk/Source/WebCore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r178133 r178142  
     12015-01-08  Brent Fulgham  <bfulgham@apple.com>
     2
     3        [Win] Build fix after r178133.
     4
     5        * platform/graphics/FontCache.h: Correct declaration of fontDataFromDescriptionAndLogFont
     6        * platform/graphics/SimpleFontData.h: We still need 'platformDestroy'
     7        * platform/graphics/mac/SimpleFontDataMac.mm:
     8        (WebCore::SimpleFontData::platformDestroy): Add stub back to prevent build break.
     9        * platform/graphics/win/FontCacheWin.cpp:
     10        (WebCore::FontCache::fontDataFromDescriptionAndLogFont): Correct signature.
     11        (WebCore::FontCache::lastResortFallbackFont): Correct '::' syntax.
     12        (WebCore::FontCache:lastResortFallbackFont): Deleted.
     13
    1142015-01-08  Antti Koivisto  <antti@apple.com>
    215
  • trunk/Source/WebCore/platform/graphics/FontCache.h

    r178133 r178142  
    146146
    147147#if PLATFORM(WIN)
    148     PassRef<SimpleFontData> fontDataFromDescriptionAndLogFont(const FontDescription&, const LOGFONT&, AtomicString& outFontFamilyName);
     148    RefPtr<SimpleFontData> fontDataFromDescriptionAndLogFont(const FontDescription&, const LOGFONT&, AtomicString& outFontFamilyName);
    149149#endif
    150150
  • trunk/Source/WebCore/platform/graphics/SimpleFontData.h

    r178133 r178142  
    223223    void platformGlyphInit();
    224224    void platformCharWidthInit();
     225    void platformDestroy();
    225226
    226227    void initCharWidths();
  • trunk/Source/WebCore/platform/graphics/mac/SimpleFontDataMac.mm

    r178133 r178142  
    263263#endif // USE(APPKIT)
    264264
     265void SimpleFontData::platformDestroy()
     266{
     267}
     268
    265269#if !PLATFORM(IOS)
    266270PassRefPtr<SimpleFontData> SimpleFontData::platformCreateScaledFontData(const FontDescription& fontDescription, float scaleFactor) const
  • trunk/Source/WebCore/platform/graphics/win/FontCacheWin.cpp

    r178133 r178142  
    310310}
    311311
    312 PassRef<SimpleFontData> FontCache::fontDataFromDescriptionAndLogFont(const FontDescription& fontDescription, const LOGFONT& font, AtomicString& outFontFamilyName)
     312RefPtr<SimpleFontData> FontCache::fontDataFromDescriptionAndLogFont(const FontDescription& fontDescription, const LOGFONT& font, AtomicString& outFontFamilyName)
    313313{
    314314    AtomicString familyName = String(font.lfFaceName, wcsnlen(font.lfFaceName, LF_FACESIZE));
     
    319319}
    320320
    321 Ref<SimpleFontData> FontCache:lastResortFallbackFont(const FontDescription& fontDescription)
     321Ref<SimpleFontData> FontCache::lastResortFallbackFont(const FontDescription& fontDescription)
    322322{
    323323    DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, fallbackFontName, ());
Note: See TracChangeset for help on using the changeset viewer.