summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 19:40:42 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 19:40:42 +0000
commit13ecb04b3a06a7e84c95a6b7c99f64529aa03b61 (patch)
tree99959aee149a43a0213d14dc448e8c3e1b831733 /chrome/plugin
parent698f7f43984b1acbc74b0a64fd2205a3ff4efe07 (diff)
downloadchromium_src-13ecb04b3a06a7e84c95a6b7c99f64529aa03b61.zip
chromium_src-13ecb04b3a06a7e84c95a6b7c99f64529aa03b61.tar.gz
chromium_src-13ecb04b3a06a7e84c95a6b7c99f64529aa03b61.tar.bz2
Remove wstring-ness from some more locale variables.
Review URL: http://codereview.chromium.org/3043055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54945 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/chrome_plugin_host.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/plugin/chrome_plugin_host.cc b/chrome/plugin/chrome_plugin_host.cc
index a784ccc..d37a0f5 100644
--- a/chrome/plugin/chrome_plugin_host.cc
+++ b/chrome/plugin/chrome_plugin_host.cc
@@ -440,8 +440,8 @@ int STDCALL CPB_GetBrowsingContextInfo(
if (buf_size < sizeof(char*))
return sizeof(char*);
- std::wstring wretval = webkit_glue::GetWebKitLocale();
- *static_cast<char**>(buf) = CPB_StringDup(CPB_Alloc, WideToUTF8(wretval));
+ std::string retval = webkit_glue::GetWebKitLocale();
+ *static_cast<char**>(buf) = CPB_StringDup(CPB_Alloc, retval);
return CPERR_SUCCESS;
}
}