summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/stress_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/stress_cache.cc')
-rw-r--r--net/disk_cache/stress_cache.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/disk_cache/stress_cache.cc b/net/disk_cache/stress_cache.cc
index bf12d30..b2b60e4 100644
--- a/net/disk_cache/stress_cache.cc
+++ b/net/disk_cache/stress_cache.cc
@@ -16,6 +16,7 @@
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/debug_util.h"
+#include "base/file_path.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/path_service.h"
@@ -34,10 +35,10 @@ const int kExpectedCrash = 100;
// Starts a new process.
int RunSlave(int iteration) {
- std::wstring exe;
+ FilePath exe;
PathService::Get(base::FILE_EXE, &exe);
- CommandLine cmdline(exe);
+ CommandLine cmdline(exe.ToWStringHack());
cmdline.AppendLooseValue(ASCIIToWide(IntToString(iteration)));
base::ProcessHandle handle;