| Index: webkit/tools/test_shell/test_shell.cc
|
| diff --git a/webkit/tools/test_shell/test_shell.cc b/webkit/tools/test_shell/test_shell.cc
|
| index a08f4ad4a12ee3a31ecb5b73b0632e47a211877e..d08d2e7cd2890ece287eb65a3f2a4026e589ffcf 100644
|
| --- a/webkit/tools/test_shell/test_shell.cc
|
| +++ b/webkit/tools/test_shell/test_shell.cc
|
| @@ -816,8 +816,9 @@ bool IsDefaultPluginEnabled() {
|
| FilePath exe_path;
|
|
|
| if (PathService::Get(base::FILE_EXE, &exe_path)) {
|
| - std::wstring exe_name = exe_path.BaseName().ToWStringHack();
|
| - if (StartsWith(exe_name, L"test_shell_tests", false))
|
| + std::string exe_name =
|
| + UTF16ToASCII(exe_path.BaseName().LossyDisplayName()));
|
| + if (StartsWith(exe_name, "test_shell_tests", false))
|
| return true;
|
| }
|
| return false;
|
|
|