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

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

Issue 1607943004: Change the system font fallback to take lang attributes into account on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix TestExpectations for the new test 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/fonts/win/FontFallbackWin.h
diff --git a/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.h b/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.h
index 3bfaec88641d3208240856c3f690df941360a647..192bbabd7cc133d1e389613e2a66312d315a043d 100644
--- a/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.h
+++ b/third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.h
@@ -49,9 +49,12 @@ namespace blink {
// the family is returned.
PLATFORM_EXPORT const UChar* getFallbackFamily(UChar32 character,
FontDescription::GenericFamilyType,
+ UScriptCode contentScript,
+ const AtomicString& contentLocale,
UScriptCode* scriptChecked,
SkFontMgr* fontManager);
PLATFORM_EXPORT UScriptCode scriptCodeForUnifiedHanFromLocale(const icu::Locale&);
+PLATFORM_EXPORT UScriptCode scriptCodeForUnifiedHanFromSubtags(const String& locale);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698