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

Unified Diff: webkit/tools/test_shell/test_shell_win.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/test_shell_win.cc
diff --git a/webkit/tools/test_shell/test_shell_win.cc b/webkit/tools/test_shell/test_shell_win.cc
index e3de9320c39b2f90f0e72db5ce82c3137ba4b83a..21e7db275104742e69b75eee244d2133e67e54f0 100644
--- a/webkit/tools/test_shell/test_shell_win.cc
+++ b/webkit/tools/test_shell/test_shell_win.cc
@@ -178,7 +178,7 @@ void TestShell::InitializeTestShell(bool layout_test_mode,
const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
if (parsed_command_line.HasSwitch(test_shell::kCrashDumps)) {
- std::wstring dir(
+ string16 dir(
parsed_command_line.GetSwitchValueNative(test_shell::kCrashDumps));
if (parsed_command_line.HasSwitch(test_shell::kCrashDumpsFulldump)) {
new google_breakpad::ExceptionHandler(
@@ -247,10 +247,10 @@ std::string TestShell::RewriteLocalUrl(const std::string& url) {
replace_url = replace_url.AppendASCII("third_party");
replace_url = replace_url.AppendASCII("WebKit");
replace_url = replace_url.AppendASCII("LayoutTests");
- std::wstring replace_url_str = replace_url.value();
+ string16 replace_url_str = replace_url.value();
replace_url_str.push_back(L'/');
new_url = std::string("file:///") +
- WideToUTF8(replace_url_str).append(url.substr(kPrefixLen));
+ UTF16ToUTF8(replace_url_str).append(url.substr(kPrefixLen));
}
return new_url;
}
« no previous file with comments | « webkit/tools/test_shell/mac/test_webview_delegate.mm ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698