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

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

Issue 6626050: Remove obsoleted interface for fallback font selection on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 d84a121b941e98668ea2ae43fa5d57cdfc98813e..4499d77ce4d7e247cc95be5a5fd4dfe049cdcaa3 100644
--- a/content/browser/renderer_host/render_sandbox_host_linux.cc
+++ b/content/browser/renderer_host/render_sandbox_host_linux.cc
@@ -260,9 +260,9 @@ class SandboxIPCProcess {
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);
+ WebCString family = WebFontInfo::familyForChars(chars.get(),
+ num_chars,
+ preferred_locale.c_str());
Pickle reply;
if (family.data()) {
« 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