Index: Source/core/css/CSSSegmentedFontFace.cpp |
diff --git a/Source/core/css/CSSSegmentedFontFace.cpp b/Source/core/css/CSSSegmentedFontFace.cpp |
index edb36fa9809cb480a7f3f1dc8c33f3d976e44664..1aceb756f7862b70adfafc9b8ee7d6217bb9146c 100644 |
--- a/Source/core/css/CSSSegmentedFontFace.cpp |
+++ b/Source/core/css/CSSSegmentedFontFace.cpp |
@@ -31,6 +31,7 @@ |
#include "platform/RuntimeEnabledFeatures.h" |
#include "platform/fonts/FontCache.h" |
#include "platform/fonts/FontDescription.h" |
+#include "platform/fonts/FontFaceCreationParams.h" |
#include "platform/fonts/SegmentedFontData.h" |
#include "platform/fonts/SimpleFontData.h" |
@@ -130,8 +131,7 @@ PassRefPtr<FontData> CSSSegmentedFontFace::getFontData(const FontDescription& fo |
return nullptr; |
FontTraits desiredTraits = fontDescription.traits(); |
- AtomicString emptyFontFamily = ""; |
- FontCacheKey key = fontDescription.cacheKey(emptyFontFamily, desiredTraits); |
+ FontCacheKey key = fontDescription.cacheKey(FontFaceCreationParams(), desiredTraits); |
RefPtr<SegmentedFontData>& fontData = m_fontDataTable.add(key.hash(), nullptr).storedValue->value; |
if (fontData && fontData->numRanges()) |