| Index: chrome/test/memory_test/memory_test.cc
|
| ===================================================================
|
| --- chrome/test/memory_test/memory_test.cc (revision 31829)
|
| +++ chrome/test/memory_test/memory_test.cc (working copy)
|
| @@ -83,9 +83,9 @@
|
| launch_arguments_.AppendSwitch(switches::kNoEvents);
|
|
|
| // Get the specified user data dir (optional)
|
| - FilePath profile_dir = FilePath::FromWStringHack(
|
| - CommandLine::ForCurrentProcess()->GetSwitchValue(
|
| - switches::kUserDataDir));
|
| + FilePath profile_dir =
|
| + CommandLine::ForCurrentProcess()->GetSwitchValuePath(
|
| + switches::kUserDataDir);
|
|
|
| if (profile_dir.empty()) {
|
| if (!SetupTempDirectory(GetUserDataDirSource())) {
|
|
|