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

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

Issue 2192703002: More LayoutLocale refactor with additional Chinese support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment updated as per drott review Created 4 years, 5 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.h
diff --git a/third_party/WebKit/Source/platform/text/LocaleToScriptMapping.h b/third_party/WebKit/Source/platform/text/LocaleToScriptMapping.h
index 6d82d0adc066e621684106cc4d026fcdf8a2bd31..041d29a609ba8741bda1ce659445b8cc36b709e2 100644
--- a/third_party/WebKit/Source/platform/text/LocaleToScriptMapping.h
+++ b/third_party/WebKit/Source/platform/text/LocaleToScriptMapping.h
@@ -42,8 +42,7 @@ namespace blink {
PLATFORM_EXPORT UScriptCode localeToScriptCodeForFontSelection(const String&);
PLATFORM_EXPORT UScriptCode scriptNameToCode(const String&);
-PLATFORM_EXPORT UScriptCode scriptCodeForHanFromLocale(const String&, char delimiter = '-');
-PLATFORM_EXPORT UScriptCode scriptCodeForHanFromLocale(UScriptCode, const String&, char delimiter = '-');
+PLATFORM_EXPORT UScriptCode scriptCodeForHanFromSubtags(const String&, char delimiter = '-');
}

Powered by Google App Engine
This is Rietveld 408576698