Index: base/files/file_posix.cc |
diff --git a/base/files/file_posix.cc b/base/files/file_posix.cc |
index a0f2328fe20be9f024c2a3cdc933cc0c6238b8b0..fcd190ac16f7561965f41d8ff3bec1d9ed3602e7 100644 |
--- a/base/files/file_posix.cc |
+++ b/base/files/file_posix.cc |
@@ -321,7 +321,7 @@ int64_t File::GetLength() { |
stat_wrapper_t file_info; |
if (CallFstat(file_.get(), &file_info)) |
- return false; |
+ return -1; |
return file_info.st_size; |
} |