| Index: base/files/file_posix.cc
|
| diff --git a/base/files/file_posix.cc b/base/files/file_posix.cc
|
| index ad747d9582e2a4640ecf93a38c86b89beb7eaa2c..4b2524228f870379d35022a86eb7e8cc7a605068 100644
|
| --- a/base/files/file_posix.cc
|
| +++ b/base/files/file_posix.cc
|
| @@ -279,8 +279,6 @@ void File::Close() {
|
| int64 File::Seek(Whence whence, int64 offset) {
|
| base::ThreadRestrictions::AssertIOAllowed();
|
| DCHECK(IsValid());
|
| - if (offset < 0)
|
| - return -1;
|
|
|
| return lseek(file_.get(), static_cast<off_t>(offset),
|
| static_cast<int>(whence));
|
|
|