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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.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
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 19ffcffc131450324c1b8104bd80d49beaa0709a..59b9e3ec9b35cabddbc138f27a570afff5acedcc 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -1024,6 +1024,9 @@ void WebViewImpl::setShowScrollBottleneckRects(bool show)
void WebViewImpl::acceptLanguagesChanged()
{
+ if (m_client)
+ FontCache::acceptLanguagesChanged(m_client->acceptLanguages());
+
if (!page())
return;
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/win/FontFallbackWin.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698