Chromium Code Reviews| Index: base/file_util_posix.cc |
| diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc |
| index bb9977ed87f9d13c4a7af482b3bd7fdbad9df592..6f531d493d0cad217339e89b19c1637e1b1ad0f3 100644 |
| --- a/base/file_util_posix.cc |
| +++ b/base/file_util_posix.cc |
| @@ -912,7 +912,11 @@ bool GetTempDir(FilePath* path) { |
| #if !defined(OS_ANDROID) |
| bool GetShmemTempDir(FilePath* path) { |
| +#if defined(OS_LINUX) |
| *path = FilePath("/dev/shm"); |
| +#else |
| + file_util::GetTempDir(path); |
|
Mark Mentovai
2011/10/24 18:09:58
It would be a good idea to structure this as
#if
Robert Nagy
2011/10/24 18:20:17
Done.
|
| +#endif |
| return true; |
| } |
| #endif |