| Index: mojo/edk/test/test_support_impl.cc
|
| diff --git a/mojo/edk/test/test_support_impl.cc b/mojo/edk/test/test_support_impl.cc
|
| index ddbaa78014a422000db2e7be7823143f90594a82..4bf11bde0ce7ad2c947f02ad88a11dc6b95f82c2 100644
|
| --- a/mojo/edk/test/test_support_impl.cc
|
| +++ b/mojo/edk/test/test_support_impl.cc
|
| @@ -15,7 +15,6 @@
|
| #include "base/logging.h"
|
| #include "base/path_service.h"
|
| #include "base/test/perf_log.h"
|
| -#include "build/build_config.h"
|
|
|
| namespace mojo {
|
| namespace test {
|
| @@ -64,13 +63,8 @@ char** TestSupportImpl::EnumerateSourceRootRelativeDirectory(
|
|
|
| // |names.size() + 1| for null terminator.
|
| char** rv = static_cast<char**>(calloc(names.size() + 1, sizeof(char*)));
|
| - for (size_t i = 0; i < names.size(); ++i) {
|
| -#if defined(OS_WIN)
|
| - rv[i] = _strdup(names[i].c_str());
|
| -#else
|
| + for (size_t i = 0; i < names.size(); ++i)
|
| rv[i] = strdup(names[i].c_str());
|
| -#endif
|
| - }
|
| return rv;
|
| }
|
|
|
|
|