Index: Source/platform/fonts/skia/FontPlatformDataSkia.cpp |
diff --git a/Source/platform/fonts/skia/FontPlatformDataSkia.cpp b/Source/platform/fonts/skia/FontPlatformDataSkia.cpp |
index 3744cd2f2336f9ea7d9607bf14764b305f118b30..5c07536e244d63b9286447307907fa7f813f4301 100644 |
--- a/Source/platform/fonts/skia/FontPlatformDataSkia.cpp |
+++ b/Source/platform/fonts/skia/FontPlatformDataSkia.cpp |
@@ -41,7 +41,7 @@ namespace WebCore { |
unsigned FontPlatformData::hash() const |
{ |
unsigned h = SkTypeface::UniqueID(m_typeface.get()); |
- h ^= 0x01010101 * ((static_cast<int>(m_orientation) << 2) | (static_cast<int>(m_fakeBold) << 1) | static_cast<int>(m_fakeItalic)); |
+ h ^= 0x01010101 * ((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 |