⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 99806 in webkit


Ignore:
Timestamp:
Nov 9, 2011, 8:21:31 PM (15 years ago)
Author:
kevino@webkit.org
Message:

[wx] Unreviewed build fix. Update how we hash the font after changes to the StringHasher APIs.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r99804 r99806  
     12011-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
    192011-11-09  Kevin Ollivier  <kevino@theolliviers.com>
    210
  • trunk/Source/WebCore/platform/graphics/wx/FontPlatformDataWx.cpp

    r83869 r99806  
    123123    // make a hash that is unique for this font, but not globally unique - that is,
    124124    // a font whose properties are equal should generate the same hash
     125    const char* fontName = thisFont->GetFaceName().utf8_str();
    125126    uintptr_t hashCodes[6] = {
    126127        thisFont->GetPointSize(),
     
    128129        thisFont->GetStyle(),
    129130        thisFont->GetWeight(),
    130         thisFont->GetUnderlined(), 
    131         StringHasher::computeHash(thisFont->GetFaceName().utf8_str().data())
     131        thisFont->GetUnderlined(),
     132        (uintptr_t)thisFont
    132133    };
    133134
Note: See TracChangeset for help on using the changeset viewer.