Changeset 178142 in webkit
- Timestamp:
- Jan 8, 2015 3:51:11 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r178133 r178142 1 2015-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 1 14 2015-01-08 Antti Koivisto <antti@apple.com> 2 15 -
trunk/Source/WebCore/platform/graphics/FontCache.h
r178133 r178142 146 146 147 147 #if PLATFORM(WIN) 148 PassRef<SimpleFontData> fontDataFromDescriptionAndLogFont(const FontDescription&, const LOGFONT&, AtomicString& outFontFamilyName);148 RefPtr<SimpleFontData> fontDataFromDescriptionAndLogFont(const FontDescription&, const LOGFONT&, AtomicString& outFontFamilyName); 149 149 #endif 150 150 -
trunk/Source/WebCore/platform/graphics/SimpleFontData.h
r178133 r178142 223 223 void platformGlyphInit(); 224 224 void platformCharWidthInit(); 225 void platformDestroy(); 225 226 226 227 void initCharWidths(); -
trunk/Source/WebCore/platform/graphics/mac/SimpleFontDataMac.mm
r178133 r178142 263 263 #endif // USE(APPKIT) 264 264 265 void SimpleFontData::platformDestroy() 266 { 267 } 268 265 269 #if !PLATFORM(IOS) 266 270 PassRefPtr<SimpleFontData> SimpleFontData::platformCreateScaledFontData(const FontDescription& fontDescription, float scaleFactor) const -
trunk/Source/WebCore/platform/graphics/win/FontCacheWin.cpp
r178133 r178142 310 310 } 311 311 312 PassRef<SimpleFontData> FontCache::fontDataFromDescriptionAndLogFont(const FontDescription& fontDescription, const LOGFONT& font, AtomicString& outFontFamilyName)312 RefPtr<SimpleFontData> FontCache::fontDataFromDescriptionAndLogFont(const FontDescription& fontDescription, const LOGFONT& font, AtomicString& outFontFamilyName) 313 313 { 314 314 AtomicString familyName = String(font.lfFaceName, wcsnlen(font.lfFaceName, LF_FACESIZE)); … … 319 319 } 320 320 321 Ref<SimpleFontData> FontCache: lastResortFallbackFont(const FontDescription& fontDescription)321 Ref<SimpleFontData> FontCache::lastResortFallbackFont(const FontDescription& fontDescription) 322 322 { 323 323 DEPRECATED_DEFINE_STATIC_LOCAL(AtomicString, fallbackFontName, ());
Note: See TracChangeset
for help on using the changeset viewer.