diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-26 03:57:24 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-26 03:57:24 +0000 |
commit | 62cdc5bf2d94c02ef33ebff1ede7e0cde31c7285 (patch) | |
tree | a47aae703d5615c909936bc23d8fa49818a40ec7 /chrome/test/ui_test_utils.cc | |
parent | cce134d160667396abcc802a2b64eab5db7982b3 (diff) | |
download | chromium_src-62cdc5bf2d94c02ef33ebff1ede7e0cde31c7285.zip chromium_src-62cdc5bf2d94c02ef33ebff1ede7e0cde31c7285.tar.gz chromium_src-62cdc5bf2d94c02ef33ebff1ede7e0cde31c7285.tar.bz2 |
Fix another instance of python_24 being used on Windows.
TBR=maruel
Review URL: http://codereview.chromium.org/1762006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45565 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui_test_utils.cc')
-rw-r--r-- | chrome/test/ui_test_utils.cc | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/chrome/test/ui_test_utils.cc b/chrome/test/ui_test_utils.cc index dec305b..0a4c792 100644 --- a/chrome/test/ui_test_utils.cc +++ b/chrome/test/ui_test_utils.cc @@ -611,19 +611,7 @@ TestWebSocketServer::TestWebSocketServer(const FilePath& root_directory) { } CommandLine* TestWebSocketServer::CreatePythonCommandLine() { -#if defined(OS_WIN) - // Get path to python interpreter - FilePath python_runtime; - if (!PathService::Get(base::DIR_SOURCE_ROOT, &python_runtime)) - return NULL; - python_runtime = python_runtime - .Append(FILE_PATH_LITERAL("third_party")) - .Append(FILE_PATH_LITERAL("python_24")) - .Append(FILE_PATH_LITERAL("python.exe")); - return new CommandLine(python_runtime); -#elif defined(OS_POSIX) - return new CommandLine(FilePath("python")); -#endif + return new CommandLine(FilePath(FILE_PATH_LITERAL("python"))); } void TestWebSocketServer::SetPythonPath() { |