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

Unified Diff: content/browser/renderer_host/render_sandbox_host_linux.cc

Issue 6592065: Pass around preferred language to font fallback selection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the reference bug number of webkit bugzilla in comments. Created 9 years, 9 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 | « chrome/renderer/renderer_webkitclient_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_sandbox_host_linux.cc
diff --git a/content/browser/renderer_host/render_sandbox_host_linux.cc b/content/browser/renderer_host/render_sandbox_host_linux.cc
index 1b36fbadbe1c010f3f8c285b58bcfe21ddc3520c..d84a121b941e98668ea2ae43fa5d57cdfc98813e 100644
--- a/content/browser/renderer_host/render_sandbox_host_linux.cc
+++ b/content/browser/renderer_host/render_sandbox_host_linux.cc
@@ -256,6 +256,12 @@ class SandboxIPCProcess {
chars[i] = c;
}
+ std::string preferred_locale;
+ if (!pickle.ReadString(&iter, &preferred_locale))
+ return;
+
+ // TODO(kochi): Pass preferred_locale.c_str() as the third parameter
+ // once https://bugs.webkit.org/show_bug.cgi?id=55453 is landed.
WebCString family = WebFontInfo::familyForChars(chars.get(), num_chars);
Pickle reply;
« no previous file with comments | « chrome/renderer/renderer_webkitclient_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698