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

Changeset 179782 in webkit


Ignore:
Timestamp:
Feb 7, 2015, 11:50:42 AM (12 years ago)
Author:
Antti Koivisto
Message:

And as a further followup restore the 8bit test too.

  • NetworkProcess/cache/NetworkCacheKey.cpp:

(WebKit::hashString):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r179781 r179782  
     12015-02-07  Antti Koivisto  <antti@apple.com>
     2
     3        And as a further followup restore the 8bit test too.
     4
     5        * NetworkProcess/cache/NetworkCacheKey.cpp:
     6        (WebKit::hashString):
     7
    182015-02-07  Antti Koivisto  <antti@apple.com>
    29
  • trunk/Source/WebKit2/NetworkProcess/cache/NetworkCacheKey.cpp

    r179781 r179782  
    6363{
    6464    const uint8_t zero = 0;
    65     if (string.containsOnlyASCII()) {
     65    if (string.is8Bit() && string.containsOnlyASCII()) {
    6666        md5.addBytes(string.characters8(), string.length());
    6767        md5.addBytes(&zero, 1);
Note: See TracChangeset for help on using the changeset viewer.