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

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

Issue 1682103004: Add FontCache::acceptLanguagesChanged() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tkent review Created 4 years, 10 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/FontCacheSkiaWin.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp b/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp
index b34762474b583cb88d8e45eb0babd6413200017a..9e2f7619b4f1354be3089543ae8859c1a46f10c1 100644
--- a/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp
+++ b/third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp
@@ -112,6 +112,10 @@ FontCache::FontCache()
m_fontManager = adoptPtr(fontManager);
}
+void FontCache::acceptLanguagesChanged(const String&)
+{
+ // TODO(kojii): Take acceptLanguages into account for ambiguos scripts.
+}
// Given the desired base font, this will create a SimpleFontData for a specific
// font that can be used to render the given range of characters.

Powered by Google App Engine
This is Rietveld 408576698