summaryrefslogtreecommitdiffstats
path: root/content/renderer/renderer_glue.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/renderer_glue.cc')
-rw-r--r--content/renderer/renderer_glue.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/content/renderer/renderer_glue.cc b/content/renderer/renderer_glue.cc
index 0a92257..0bdb3d6 100644
--- a/content/renderer/renderer_glue.cc
+++ b/content/renderer/renderer_glue.cc
@@ -243,19 +243,6 @@ bool GetFontTable(int fd, uint32_t table, uint8_t* output,
}
#endif
-std::string GetWebKitLocale() {
- // The browser process should have passed the locale to the renderer via the
- // --lang command line flag. In single process mode, this will return the
- // wrong value. TODO(tc): Fix this for single process mode.
- const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
- const std::string& lang =
- parsed_command_line.GetSwitchValueASCII(switches::kLang);
- DCHECK(!lang.empty() ||
- (!parsed_command_line.HasSwitch(switches::kRendererProcess) &&
- !parsed_command_line.HasSwitch(switches::kPluginProcess)));
- return lang;
-}
-
string16 GetLocalizedString(int message_id) {
return content::GetContentClient()->GetLocalizedString(message_id);
}