| Index: content/public/test/browser_test_utils.cc
|
| diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc
|
| index ed0379d0aa7afcae979eee9f83ddf3ecc9ea80a5..f49ce9219f9c43afb21de1d4167af04b55f853a4 100644
|
| --- a/content/public/test/browser_test_utils.cc
|
| +++ b/content/public/test/browser_test_utils.cc
|
| @@ -514,9 +514,10 @@ bool TestWebSocketServer::Start(const FilePath& root_directory) {
|
| CommandLine* TestWebSocketServer::CreatePythonCommandLine() {
|
| // Note: Python's first argument must be the script; do not append CommandLine
|
| // switches, as they would precede the script path and break this CommandLine.
|
| - FilePath path;
|
| - CHECK(GetPythonRunTime(&path));
|
| - return new CommandLine(path);
|
| + CommandLine* cmd_line = new CommandLine(CommandLine::NO_PROGRAM);
|
| + // TODO(phajdan.jr): Instead of CHECKing, return a boolean indicating success.
|
| + CHECK(GetPythonCommand(cmd_line));
|
| + return cmd_line;
|
| }
|
|
|
| void TestWebSocketServer::SetPythonPath() {
|
|
|