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_bound_class_unittest.cc | |
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_bound_class_unittest.cc')
-rw-r--r-- | webkit/glue/cpp_bound_class_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/cpp_bound_class_unittest.cc b/webkit/glue/cpp_bound_class_unittest.cc index 283b807..2f53c47 100644 --- a/webkit/glue/cpp_bound_class_unittest.cc +++ b/webkit/glue/cpp_bound_class_unittest.cc @@ -63,7 +63,7 @@ class ExampleTestShell : public TestShell { // When called by WebViewDelegate::WindowObjectCleared method, this binds a // CppExampleObject to window.example. virtual void BindJSObjectsToWindow(WebFrame* frame) { - example_bound_class_.BindToJavascript(frame, L"example"); + example_bound_class_.BindToJavascript(frame, "example"); // We use the layoutTestController binding for notifyDone. TestShell::BindJSObjectsToWindow(frame); } |