summaryrefslogtreecommitdiffstats
path: root/chrome/common/common_glue.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/common_glue.cc')
-rw-r--r--chrome/common/common_glue.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/common/common_glue.cc b/chrome/common/common_glue.cc
index 7d957d9..eb993bd 100644
--- a/chrome/common/common_glue.cc
+++ b/chrome/common/common_glue.cc
@@ -4,6 +4,8 @@
#include "base/command_line.h"
#include "base/path_service.h"
+#include "base/string16.h"
+#include "base/string_util.h"
#include "build/build_config.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
@@ -39,8 +41,8 @@ std::wstring GetWebKitLocale() {
return lang;
}
-std::wstring GetLocalizedString(int message_id) {
- return l10n_util::GetString(message_id);
+string16 GetLocalizedString(int message_id) {
+ return WideToUTF16(l10n_util::GetString(message_id));
}
} // namespace webkit_glue