Index: base/file_util_posix.cc |
diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc |
index bb9977ed87f9d13c4a7af482b3bd7fdbad9df592..8d9fb29e93ddff73868e069192742bd5626cdc13 100644 |
--- a/base/file_util_posix.cc |
+++ b/base/file_util_posix.cc |
@@ -912,8 +912,12 @@ bool GetTempDir(FilePath* path) { |
#if !defined(OS_ANDROID) |
bool GetShmemTempDir(FilePath* path) { |
+#if defined(OS_LINUX) |
*path = FilePath("/dev/shm"); |
return true; |
+#else |
+ return GetTempDir(path); |
+#endif |
} |
#endif |