summaryrefslogtreecommitdiffstats
path: root/webkit/glue/cpp_bound_class.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-03 18:11:25 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-03 18:11:25 +0000
commit906690b746ff0bbc3eedc839fc7ae03936f3dc67 (patch)
tree6baea2966a1f5008bb06bf70f13e391ce8550ed7 /webkit/glue/cpp_bound_class.h
parentf889b65a91ed110ba84a75b3d6c6c87f77367c5e (diff)
downloadchromium_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_bound_class.h')
-rw-r--r--webkit/glue/cpp_bound_class.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/webkit/glue/cpp_bound_class.h b/webkit/glue/cpp_bound_class.h
index a446386..06662ce 100644
--- a/webkit/glue/cpp_bound_class.h
+++ b/webkit/glue/cpp_bound_class.h
@@ -65,8 +65,7 @@ class CppBoundClass {
// as window.<classname>. The owner of the CppBoundObject is responsible for
// keeping the object around while the frame is alive, and for destroying it
// afterwards.
- void BindToJavascript(
- WebKit::WebFrame* frame, const std::wstring& classname);
+ void BindToJavascript(WebKit::WebFrame* frame, const std::string& classname);
// The type of callbacks.
typedef Callback2<const CppArgumentList&, CppVariant*>::Type Callback;