| Index: third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp b/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp
|
| index 93a0a88af855e419bef7f4f20f6b714b7ef7685a..6a4bcc06fb2f2c5417710717ece131b77fae84bc 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp
|
| @@ -310,10 +310,11 @@ bool FontPlatformData::hasSpaceInLigaturesOrKerning(
|
|
|
| unsigned FontPlatformData::hash() const {
|
| unsigned h = SkTypeface::UniqueID(typeface());
|
| - h ^= 0x01010101 * ((static_cast<int>(m_isHashTableDeletedValue) << 3) |
|
| - (static_cast<int>(m_orientation) << 2) |
|
| - (static_cast<int>(m_syntheticBold) << 1) |
|
| - static_cast<int>(m_syntheticItalic));
|
| + h ^= 0x01010101 *
|
| + ((static_cast<int>(m_isHashTableDeletedValue) << 3) |
|
| + (static_cast<int>(m_orientation) << 2) |
|
| + (static_cast<int>(m_syntheticBold) << 1) |
|
| + static_cast<int>(m_syntheticItalic));
|
|
|
| // This memcpy is to avoid a reinterpret_cast that breaks strict-aliasing
|
| // rules. Memcpy is generally optimized enough so that performance doesn't
|
|
|