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

Unified Diff: third_party/WebKit/Source/platform/fonts/AcceptLanguagesResolver.h

Issue 2213393002: Defer computing localeForHan until needed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: drott review Created 4 years, 4 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/AcceptLanguagesResolver.h
diff --git a/third_party/WebKit/Source/platform/fonts/AcceptLanguagesResolver.h b/third_party/WebKit/Source/platform/fonts/AcceptLanguagesResolver.h
index d16d7b82b72a605072fa459e2fa57d74908df51b..47e49ef0325dee5ce3bd8110ba01a058c0f2826c 100644
--- a/third_party/WebKit/Source/platform/fonts/AcceptLanguagesResolver.h
+++ b/third_party/WebKit/Source/platform/fonts/AcceptLanguagesResolver.h
@@ -18,6 +18,7 @@ class PLATFORM_EXPORT AcceptLanguagesResolver {
public:
static void acceptLanguagesChanged(const String&);
+ static const LayoutLocale* localeForHan();
static const LayoutLocale* localeForHanFromAcceptLanguages(const String&);
};

Powered by Google App Engine
This is Rietveld 408576698