Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Unified Diff: webkit/glue/cpp_bound_class_unittest.cc

Issue 5631002: wstrings: convert CppVariant and CppBoundClass to not use wstring (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/glue/cpp_bound_class_unittest.cc
diff --git a/webkit/glue/cpp_bound_class_unittest.cc b/webkit/glue/cpp_bound_class_unittest.cc
index 283b807d3748cd00512a114b0dbd2ece9182337e..2f53c47f8dc6a1e46ef7f67be665dff7e218e672 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);
}

Powered by Google App Engine
This is Rietveld 408576698