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

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

Issue 12893: Get rid of kPathSeparator on windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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
« no previous file with comments | « net/base/net_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_shell_win.cc
===================================================================
--- webkit/tools/test_shell/test_shell_win.cc (revision 6271)
+++ webkit/tools/test_shell/test_shell_win.cc (working copy)
@@ -92,13 +92,13 @@
// will be happening on developers' machines where they have debuggers.
StackWString<kPathBufSize * 2> origPath;
origPath->append(dumpPath);
- origPath->push_back(file_util::kPathSeparator);
+ origPath->push_back(FilePath::kSeparators[0]);
origPath->append(minidumpID);
origPath->append(L".dmp");
StackWString<kPathBufSize * 2> newPath;
newPath->append(dumpPath);
- newPath->push_back(file_util::kPathSeparator);
+ newPath->push_back(FilePath::kSeparators[0]);
newPath->append(g_currentTestName);
newPath->append(L"-");
newPath->append(minidumpID);
@@ -329,7 +329,7 @@
file_util::AppendToPath(&replace_url, L"data");
file_util::AppendToPath(&replace_url, L"layout_tests");
file_util::AppendToPath(&replace_url, L"LayoutTests");
- replace_url.push_back(file_util::kPathSeparator);
+ replace_url.push_back(FilePath::kSeparators[0]);
new_url = std::string("file:///") +
WideToUTF8(replace_url).append(url.substr(kPrefixLen));
}
« no previous file with comments | « net/base/net_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698