Chromium Code Reviews| Index: base/file_util.cc |
| diff --git a/base/file_util.cc b/base/file_util.cc |
| index c1bf50abc45f720bca415d1bc56d5fb9bf35abda..d11cd15a2e0032d587329ab0399682c25b2195f4 100644 |
| --- a/base/file_util.cc |
| +++ b/base/file_util.cc |
| @@ -157,6 +157,7 @@ bool ReadFileToString(const FilePath& path, |
| size += len; |
| } |
| + read_status = read_status && !ferror(file); |
| CloseFile(file); |
| return read_status; |