| Index: third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp b/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp
|
| index ce7da4e3eb303886b32f61780cc5f8794f6a0803..ddaadd6acb74065fc9110dea7aa420929d4d0afc 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp
|
| @@ -282,7 +282,7 @@ static bool typefacesHasWeightSuffix(const AtomicString& family,
|
| for (size_t i = 0; i < numVariants; i++) {
|
| const FamilyWeightSuffix& entry = variantForSuffix[i];
|
| if (family.endsWith(entry.suffix, TextCaseInsensitive)) {
|
| - String familyName = family.string();
|
| + String familyName = family.getString();
|
| familyName.truncate(family.length() - entry.length);
|
| adjustedName = AtomicString(familyName);
|
| variantWeight = entry.weight;
|
| @@ -320,7 +320,7 @@ static bool typefacesHasStretchSuffix(const AtomicString& family,
|
| for (size_t i = 0; i < numVariants; i++) {
|
| const FamilyStretchSuffix& entry = variantForSuffix[i];
|
| if (family.endsWith(entry.suffix, TextCaseInsensitive)) {
|
| - String familyName = family.string();
|
| + String familyName = family.getString();
|
| familyName.truncate(family.length() - entry.length);
|
| adjustedName = AtomicString(familyName);
|
| variantStretch = entry.stretch;
|
|
|