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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutQuote.cpp

Issue 2806263002: Rename blink::AtomicString::Lower() to DeprecatedLower(). (Closed)
Patch Set: Update a comment 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/core/layout/LayoutQuote.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutQuote.cpp b/third_party/WebKit/Source/core/layout/LayoutQuote.cpp
index 8b422d0e0055e4b579e64fc386315d5e69a961d4..5630384e6c418f82459d28b877f1deb41fde3d9f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutQuote.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutQuote.cpp
@@ -234,7 +234,7 @@ const QuotesData* QuotesDataForLanguage(const AtomicString& lang) {
// This could be just a hash table, but doing that adds 200k to LayoutQuote.o
Language* languages_end = g_languages + WTF_ARRAY_LENGTH(g_languages);
- CString lowercase_lang = lang.Lower().Utf8();
+ CString lowercase_lang = lang.DeprecatedLower().Utf8();
Language key = {lowercase_lang.Data(), 0, 0, 0, 0, 0};
Language* match = std::lower_bound(g_languages, languages_end, key);
if (match == languages_end || strcmp(match->lang, key.lang))

Powered by Google App Engine
This is Rietveld 408576698