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

Unified Diff: webkit/tools/test_shell/layout_test_controller.cc

Issue 8983009: Remove more wstrings in webkit/tools/test_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 12 months 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/tools/test_shell/layout_test_controller.cc
diff --git a/webkit/tools/test_shell/layout_test_controller.cc b/webkit/tools/test_shell/layout_test_controller.cc
index 208a413ad597fd7f53dd455a9fe66683d3f92d04..6b00cde93b61948e3ef6d91e0ca3405056761456 100644
--- a/webkit/tools/test_shell/layout_test_controller.cc
+++ b/webkit/tools/test_shell/layout_test_controller.cc
@@ -49,7 +49,6 @@
#include "webkit/tools/test_shell/test_webview_delegate.h"
using std::string;
-using std::wstring;
using WebKit::WebBindings;
using WebKit::WebConsoleMessage;
@@ -269,11 +268,12 @@ void LayoutTestController::PolicyDelegateDone() {
void LayoutTestController::fallbackMethod(
const CppArgumentList& args, CppVariant* result) {
- std::wstring message(L"JavaScript ERROR: unknown method called on LayoutTestController");
+ std::string message(
+ "JavaScript ERROR: unknown method called on LayoutTestController");
if (!shell_->layout_test_mode()) {
logging::LogMessage("CONSOLE:", 0).stream() << message;
} else {
- printf("CONSOLE MESSAGE: %S\n", message.c_str());
+ printf("CONSOLE MESSAGE: %s\n", message.c_str());
}
result->SetNull();
}
« no previous file with comments | « webkit/tools/test_shell/image_decoder_unittest.cc ('k') | webkit/tools/test_shell/mac/test_webview_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698