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

Unified Diff: third_party/WebKit/Source/platform/exported/linux/WebFontInfo.cpp

Issue 1636873005: blink: Fix naming and const-ness of constants and non-constants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: constants: indents Created 4 years, 11 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/exported/linux/WebFontInfo.cpp
diff --git a/third_party/WebKit/Source/platform/exported/linux/WebFontInfo.cpp b/third_party/WebKit/Source/platform/exported/linux/WebFontInfo.cpp
index 681c977a1188a71ff9f20259b52d30ce74796806..62bfc6498240e4fd491878b0b0903c1d739e57da 100644
--- a/third_party/WebKit/Source/platform/exported/linux/WebFontInfo.cpp
+++ b/third_party/WebKit/Source/platform/exported/linux/WebFontInfo.cpp
@@ -233,14 +233,14 @@ public:
WebFallbackFont fallbackFontForCharInLocale(WebUChar32 c, const char* locale)
{
- DEFINE_STATIC_LOCAL(AtomicString, kNoLocale, ("NO_LOCALE_SPECIFIED", AtomicString::ConstructFromLiteral));
+ DEFINE_STATIC_LOCAL(AtomicString, noLocale, ("NO_LOCALE_SPECIFIED", AtomicString::ConstructFromLiteral));
AtomicString localeKey;
if (locale && strlen(locale)) {
localeKey = AtomicString(locale);
} else {
// String hash computation the m_setsByLocale map needs
// a non-empty string.
- localeKey = kNoLocale;
+ localeKey = noLocale;
}
LocaleToCachedFont::iterator itr = m_setsByLocale.find(localeKey);

Powered by Google App Engine
This is Rietveld 408576698