diff options
Diffstat (limited to 'chrome/test/webdriver/webdriver_server.cc')
-rw-r--r-- | chrome/test/webdriver/webdriver_server.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/test/webdriver/webdriver_server.cc b/chrome/test/webdriver/webdriver_server.cc index 5781bac..ccb8c70 100644 --- a/chrome/test/webdriver/webdriver_server.cc +++ b/chrome/test/webdriver/webdriver_server.cc @@ -19,7 +19,6 @@ #include "base/file_util.h" #include "base/memory/scoped_ptr.h" #include "base/path_service.h" -#include "base/process_util.h" #include "base/stringprintf.h" #include "base/string_number_conversions.h" #include "base/string_split.h" @@ -227,11 +226,8 @@ int RunChromeDriver() { CommandLine* cmd_line = CommandLine::ForCurrentProcess(); #if defined(OS_POSIX) - if (!IgnoreSigPipe()) { - LOG(ERROR) << "Failed to ignore SIGPIPE"; - return EXIT_FAILURE; - } -#endif // defined(OS_POSIX) + signal(SIGPIPE, SIG_IGN); +#endif srand((unsigned int)time(NULL)); // Register Chrome's path provider so that the AutomationProxy will find our |