summaryrefslogtreecommitdiffstats
path: root/sandbox/tests/common/controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/tests/common/controller.cc')
-rw-r--r--sandbox/tests/common/controller.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sandbox/tests/common/controller.cc b/sandbox/tests/common/controller.cc
index e07947a..915dd16 100644
--- a/sandbox/tests/common/controller.cc
+++ b/sandbox/tests/common/controller.cc
@@ -6,7 +6,6 @@
#include <string>
-#include "base/sys_string_conversions.h"
#include "sandbox/src/sandbox_factory.h"
#include "sandbox/src/sandbox_utils.h"
@@ -226,7 +225,7 @@ int DispatchCall(int argc, wchar_t **argv) {
&module))
return SBOX_TEST_FAILED_TO_EXECUTE_COMMAND;
- std::string command_name = base::SysWideToUTF8(argv[3]);
+ std::string command_name = WideToMultiByte(argv[3]);
CommandFunction command = reinterpret_cast<CommandFunction>(
::GetProcAddress(module, command_name.c_str()));
if (!command)