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

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

Issue 2815523002: Rename Script() returning UScriptCode to GetScript() (Closed)
Patch Set: Rebase 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
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp b/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp
index 26b7bca3be00efc7112bc69413e69a2333bf758a..1faa64fa06ce59fedb4b51b9dd74f1069b5456fe 100644
--- a/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp
+++ b/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.cpp
@@ -298,7 +298,7 @@ void InitializeScriptFontMap(ScriptToFontMap& script_font_map) {
}
// Initialize the locale-dependent mapping from system locale.
- UScriptCode han_script = LayoutLocale::GetSystem().ScriptForHan();
+ UScriptCode han_script = LayoutLocale::GetSystem().GetScriptForHan();
DCHECK(han_script != USCRIPT_HAN);
if (script_font_map[han_script].candidate_family_names) {
script_font_map[USCRIPT_HAN].candidate_family_names =
@@ -505,7 +505,7 @@ const UChar* GetFallbackFamily(UChar32 character,
if (script == USCRIPT_HAN) {
if (const LayoutLocale* locale_for_han =
LayoutLocale::LocaleForHan(content_locale))
- script = locale_for_han->ScriptForHan();
+ script = locale_for_han->GetScriptForHan();
// If still unknown, USCRIPT_HAN uses UI locale.
// See initializeScriptFontMap().
}
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaperTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698