commit | 089ec1a2cbc7c118531871fece5ba2f1328e23ac | [log] [tgz] |
---|---|---|
author | mkolom <mkolom@yandex-team.ru> | Fri Dec 09 10:25:07 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Dec 09 10:28:00 2016 |
tree | ffb78bc9a4801d3c3027756ab1cf06b876dd9b0e | |
parent | c216c500aceb0054b09365f914187594b4bcd7c5 [diff] |
Fix error handling in POSIX version of the base::File::GetLength. According to the base/files/file.h, the GetLength() method should return a negative number on failure. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win10_chromium_x64_rel_ng Review-Url: https://codereview.chromium.org/2404823002 Cr-Commit-Position: refs/heads/master@{#437512}