From e26092ee0313c209ecfc13adf4015d55a4eb38db Mon Sep 17 00:00:00 2001 From: "nsylvain@chromium.org" Date: Tue, 23 Dec 2008 21:57:10 +0000 Subject: Move a function from controller.cc to sandbox_utils.cc in preparation for the refactoring. Review URL: http://codereview.chromium.org/16225 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7445 0039d316-1c4b-4281-b951-d872f2087c98 --- sandbox/tests/common/controller.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sandbox/tests') 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 -#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( ::GetProcAddress(module, command_name.c_str())); if (!command) -- cgit v1.1