| Index: webkit/tools/test_shell/node_leak_test.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/node_leak_test.cc (revision 10641)
|
| +++ webkit/tools/test_shell/node_leak_test.cc (working copy)
|
| @@ -49,7 +49,8 @@
|
| if (parsed_command_line.HasSwitch(test_shell::kTestShellTimeOut)) {
|
| const std::wstring timeout_str = parsed_command_line.GetSwitchValue(
|
| test_shell::kTestShellTimeOut);
|
| - int timeout_ms = static_cast<int>(StringToInt64(timeout_str.c_str()));
|
| + int timeout_ms =
|
| + static_cast<int>(StringToInt64(WideToUTF16Hack(timeout_str.c_str())));
|
| if (timeout_ms > 0)
|
| TestShell::SetFileTestTimeout(timeout_ms);
|
| }
|
|
|