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

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

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: Created 3 years, 8 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 63514bf5a14e31bef8c81f2fdc28010845ebe61e..d230a9a517c01e0920685316067f2ebc782c89c9 100644
--- a/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp
+++ b/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp
@@ -221,8 +221,9 @@ PassRefPtr<SimpleFontData> FontCache::FallbackFontForCharacter(
return nullptr;
}
-static inline bool EqualIgnoringCase(const AtomicString& a, const SkString& b) {
- return EqualIgnoringCase(a, ToAtomicString(b));
+static inline bool DeprecatedEqualIgnoringCase(const AtomicString& a,
+ const SkString& b) {
+ return DeprecatedEqualIgnoringCase(a, ToAtomicString(b));
}
static bool TypefacesMatchesFamily(const SkTypeface* tf,
@@ -233,7 +234,7 @@ static bool TypefacesMatchesFamily(const SkTypeface* tf,
SkTypeface::LocalizedString actual_family;
while (actual_families->next(&actual_family)) {
- if (EqualIgnoringCase(family, actual_family.fString)) {
+ if (DeprecatedEqualIgnoringCase(family, actual_family.fString)) {
matches_requested_family = true;
break;
}
@@ -248,7 +249,7 @@ static bool TypefacesMatchesFamily(const SkTypeface* tf,
if (!matches_requested_family) {
SkString family_name;
tf->getFamilyName(&family_name);
- if (EqualIgnoringCase(family, family_name))
+ if (DeprecatedEqualIgnoringCase(family, family_name))
matches_requested_family = true;
}

Powered by Google App Engine
This is Rietveld 408576698