Index: base/file_util.h |
diff --git a/base/file_util.h b/base/file_util.h |
index e62b30e09f8490968641c569c91ebe87443a1a89..16f18f1e59aad7cb9dae49f4b0fdcb0f40706045 100644 |
--- a/base/file_util.h |
+++ b/base/file_util.h |
@@ -239,8 +239,8 @@ FilePath GetHomeDir(); |
bool CreateTemporaryFile(FilePath* path); |
// Create and open a temporary file. File is opened for read/write. |
-// The full path is placed in |path|, and the function returns true if |
-// was successful in creating and opening the file. |
+// The full path is placed in |path|. |
+// Returns a handle to the opened file or NULL if an error occured. |
FILE* CreateAndOpenTemporaryFile(FilePath* path); |
// Like above but for shmem files. Only useful for POSIX. |
FILE* CreateAndOpenTemporaryShmemFile(FilePath* path); |