diff options
Diffstat (limited to 'ipc/chromium/src/base/file_util_posix.cc')
-rw-r--r-- | ipc/chromium/src/base/file_util_posix.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ipc/chromium/src/base/file_util_posix.cc b/ipc/chromium/src/base/file_util_posix.cc index 6a9fa6b960..72c742a94f 100644 --- a/ipc/chromium/src/base/file_util_posix.cc +++ b/ipc/chromium/src/base/file_util_posix.cc @@ -165,13 +165,9 @@ bool CreateNewTempDirectory(const FilePath::StringType& prefix, return false; tmpdir = tmpdir.Append(kTempFileName); std::string tmpdir_string = tmpdir.value(); -#ifdef ANDROID - char* dtemp = NULL; -#else // this should be OK since mkdtemp just replaces characters in place char* buffer = const_cast<char*>(tmpdir_string.c_str()); char* dtemp = mkdtemp(buffer); -#endif if (!dtemp) return false; *new_temp_path = FilePath(dtemp); |