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

Unified Diff: third_party/WebKit/Source/platform/text/LocaleToScriptMapping.cpp

Issue 2385283002: reflow comments in platform/{testing,text} (Closed)
Patch Set: idunnolol Created 4 years, 2 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/text/LocaleToScriptMapping.cpp
diff --git a/third_party/WebKit/Source/platform/text/LocaleToScriptMapping.cpp b/third_party/WebKit/Source/platform/text/LocaleToScriptMapping.cpp
index f1f2098652faf06dfd67eacc0af6dd524b588afc..aaac61abdf85b19070abfe7fe61d0d178496a920 100644
--- a/third_party/WebKit/Source/platform/text/LocaleToScriptMapping.cpp
+++ b/third_party/WebKit/Source/platform/text/LocaleToScriptMapping.cpp
@@ -52,10 +52,11 @@ static void createSubtagScriptMap(SubtagScriptMap& map,
}
UScriptCode scriptNameToCode(const String& scriptName) {
- // This generally maps an ISO 15924 script code to its UScriptCode, but certain families of script codes are
- // treated as a single script for assigning a per-script font in Settings. For example, "hira" is mapped to
- // USCRIPT_KATAKANA_OR_HIRAGANA instead of USCRIPT_HIRAGANA, since we want all Japanese scripts to be rendered
- // using the same font setting.
+ // This generally maps an ISO 15924 script code to its UScriptCode, but
+ // certain families of script codes are treated as a single script for
+ // assigning a per-script font in Settings. For example, "hira" is mapped to
+ // USCRIPT_KATAKANA_OR_HIRAGANA instead of USCRIPT_HIRAGANA, since we want all
+ // Japanese scripts to be rendered using the same font setting.
static const SubtagScript scriptNameCodeList[] = {
{"zyyy", USCRIPT_COMMON},
{"qaai", USCRIPT_INHERITED},
« no previous file with comments | « third_party/WebKit/Source/platform/text/LocaleMacTest.cpp ('k') | third_party/WebKit/Source/platform/text/LocaleWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698