Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(914)

Unified Diff: third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp

Issue 1835773002: Rename AtomicString::string() to AtomicString::getString(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698