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

Unified Diff: chrome_frame/test/perf/chrome_frame_perftest.cc

Issue 271099: Re-try r29078: Remove some deprecated file_util wstring functions. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « chrome_frame/chrome_tab.cc ('k') | chrome_frame/test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/perf/chrome_frame_perftest.cc
===================================================================
--- chrome_frame/test/perf/chrome_frame_perftest.cc (revision 29088)
+++ chrome_frame/test/perf/chrome_frame_perftest.cc (working copy)
@@ -621,7 +621,8 @@
file_util::AppendToPath(&chrome_exe_test_path,
chrome::kBrowserProcessExecutableName);
- if (!file_util::PathExists(chrome_exe_test_path)) {
+ if (!file_util::PathExists(
+ FilePath::FromWStringHack(chrome_exe_test_path))) {
file_util::UpOneDirectory(&chrome_exe_path);
chrome_exe_test_path = chrome_exe_path;
@@ -629,7 +630,8 @@
chrome::kBrowserProcessExecutableName);
}
- EXPECT_TRUE(file_util::PathExists(chrome_exe_test_path));
+ EXPECT_TRUE(
+ file_util::PathExists(FilePath::FromWStringHack(chrome_exe_test_path)));
return chrome_exe_path;
}
« no previous file with comments | « chrome_frame/chrome_tab.cc ('k') | chrome_frame/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698