Changeset 99806 in webkit
- Timestamp:
- Nov 9, 2011, 8:21:31 PM (15 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/wx/FontPlatformDataWx.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r99804 r99806 1 2011-11-09 Kevin Ollivier <kevino@theolliviers.com> 2 3 [wx] Unreviewed build fix. Update how we hash the font after 4 changes to the StringHasher APIs. 5 6 * platform/graphics/wx/FontPlatformDataWx.cpp: 7 (WebCore::FontPlatformData::computeHash): 8 1 9 2011-11-09 Kevin Ollivier <kevino@theolliviers.com> 2 10 -
trunk/Source/WebCore/platform/graphics/wx/FontPlatformDataWx.cpp
r83869 r99806 123 123 // make a hash that is unique for this font, but not globally unique - that is, 124 124 // a font whose properties are equal should generate the same hash 125 const char* fontName = thisFont->GetFaceName().utf8_str(); 125 126 uintptr_t hashCodes[6] = { 126 127 thisFont->GetPointSize(), … … 128 129 thisFont->GetStyle(), 129 130 thisFont->GetWeight(), 130 thisFont->GetUnderlined(), 131 StringHasher::computeHash(thisFont->GetFaceName().utf8_str().data())131 thisFont->GetUnderlined(), 132 (uintptr_t)thisFont 132 133 }; 133 134
Note:
See TracChangeset
for help on using the changeset viewer.