| Index: webkit/tools/test_shell/node_leak_test.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/node_leak_test.cc (revision 31829)
|
| +++ webkit/tools/test_shell/node_leak_test.cc (working copy)
|
| @@ -32,8 +32,8 @@
|
| virtual void SetUp() {
|
| const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
|
|
|
| - FilePath cache_path = FilePath::FromWStringHack(
|
| - parsed_command_line.GetSwitchValue(test_shell::kCacheDir));
|
| + FilePath cache_path =
|
| + parsed_command_line.GetSwitchValuePath(test_shell::kCacheDir);
|
| if (cache_path.empty()) {
|
| PathService::Get(base::DIR_EXE, &cache_path);
|
| cache_path = cache_path.AppendASCII("cache");
|
| @@ -75,9 +75,8 @@
|
|
|
| TEST_F(NodeLeakTest, TestURL) {
|
| const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
|
| - if (parsed_command_line.HasSwitch(kTestUrlSwitch)) {
|
| + if (parsed_command_line.HasSwitch(kTestUrlSwitch))
|
| NavigateToURL(parsed_command_line.GetSwitchValue(kTestUrlSwitch).c_str());
|
| - }
|
| }
|
|
|
| } // namespace
|
|
|