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; |