diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-23 21:57:10 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-23 21:57:10 +0000 |
commit | e26092ee0313c209ecfc13adf4015d55a4eb38db (patch) | |
tree | 7d339472915c816af4b06096ba35eb6d5f1bbd2b /sandbox/tests | |
parent | 3b296845029d75743c4c434486cc55e5df196687 (diff) | |
download | chromium_src-e26092ee0313c209ecfc13adf4015d55a4eb38db.zip chromium_src-e26092ee0313c209ecfc13adf4015d55a4eb38db.tar.gz chromium_src-e26092ee0313c209ecfc13adf4015d55a4eb38db.tar.bz2 |
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
Diffstat (limited to 'sandbox/tests')
-rw-r--r-- | sandbox/tests/common/controller.cc | 3 |
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) |