diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-03 18:11:25 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-03 18:11:25 +0000 |
commit | 906690b746ff0bbc3eedc839fc7ae03936f3dc67 (patch) | |
tree | 6baea2966a1f5008bb06bf70f13e391ce8550ed7 /webkit/glue/cpp_variant.h | |
parent | f889b65a91ed110ba84a75b3d6c6c87f77367c5e (diff) | |
download | chromium_src-906690b746ff0bbc3eedc839fc7ae03936f3dc67.zip chromium_src-906690b746ff0bbc3eedc839fc7ae03936f3dc67.tar.gz chromium_src-906690b746ff0bbc3eedc839fc7ae03936f3dc67.tar.bz2 |
wstrings: convert CppVariant and CppBoundClass to not use wstring
Confusingly, we had a ToString() that returned a UTF-8 string and
a ToStringVector() that returned wstrings. Since CppVariant is
a small wrapper around NPVariant I made them both use UTF-8; it
simplified most of the users anyway (which only dealt with ASCII
anyway).
BUG=23581
TEST=compiles
Review URL: http://codereview.chromium.org/5631002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68187 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/cpp_variant.h')
-rw-r--r-- | webkit/glue/cpp_variant.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/cpp_variant.h b/webkit/glue/cpp_variant.h index 71b3166..34f843a 100644 --- a/webkit/glue/cpp_variant.h +++ b/webkit/glue/cpp_variant.h @@ -96,7 +96,7 @@ class CppVariant : public NPVariant { bool ToBoolean() const; // Returns a vector of strings for the specified argument. This is useful // for converting a JavaScript array of strings into a vector of strings. - std::vector<std::wstring> ToStringVector() const; + std::vector<std::string> ToStringVector() const; // Invoke method of the given name on an object with the supplied arguments. // The first argument should be the object on which the method is to be |