Index: chrome/browser/process_singleton_win_unittest.cc |
diff --git a/chrome/browser/process_singleton_win_unittest.cc b/chrome/browser/process_singleton_win_unittest.cc |
index 2aed9fc6123dfa1abfa8e19e0865ac73efc0c8a5..df53228df8a9d58e9d231b18892bc88d38fafcb7 100644 |
--- a/chrome/browser/process_singleton_win_unittest.cc |
+++ b/chrome/browser/process_singleton_win_unittest.cc |
@@ -206,7 +206,7 @@ class ProcessSingletonTest : public base::MultiProcessTest { |
base::CommandLine MakeCmdLine(const std::string& procname) override { |
base::CommandLine cmd_line = base::MultiProcessTest::MakeCmdLine(procname); |
- cmd_line.AppendSwitchPath(switches::kUserDataDir, user_data_dir_.path()); |
+ cmd_line.AppendSwitchPath(switches::kUserDataDir, user_data_dir_.GetPath()); |
cmd_line.AppendSwitchNative(kReadyEventNameFlag, ready_event_name_); |
cmd_line.AppendSwitchNative(kContinueEventNameFlag, continue_event_name_); |
if (window_option_ == WITH_WINDOW) |
@@ -229,7 +229,9 @@ class ProcessSingletonTest : public base::MultiProcessTest { |
} |
base::Process* browser_victim() { return &browser_victim_; } |
- const base::FilePath& user_data_dir() const { return user_data_dir_.path(); } |
+ const base::FilePath& user_data_dir() const { |
+ return user_data_dir_.GetPath(); |
+ } |
ProcessSingleton* test_singleton() const { return test_singleton_.get(); } |
bool should_kill_called() const { return should_kill_called_; } |