| Index: chrome/utility/safe_browsing/mac/udif.cc
|
| diff --git a/chrome/utility/safe_browsing/mac/udif.cc b/chrome/utility/safe_browsing/mac/udif.cc
|
| index 12d7be518c3035fbc43478ee8088ef413a9c07ee..daefe1028f00e91dbe822f640f7d471cf2d99e0a 100644
|
| --- a/chrome/utility/safe_browsing/mac/udif.cc
|
| +++ b/chrome/utility/safe_browsing/mac/udif.cc
|
| @@ -681,7 +681,9 @@ off_t UDIFPartitionReadStream::Seek(off_t offset, int whence) {
|
| new UDIFBlockChunkReadStream(stream_, block_size_, chunk));
|
| }
|
| current_chunk_ = chunk_number;
|
| - if (chunk_stream_->Seek(decompress_read_offset.ValueOrDie(), SEEK_SET) == -1)
|
| + if (chunk_stream_->Seek(
|
| + base::ValueOrDieForType<off_t>(decompress_read_offset), SEEK_SET) ==
|
| + -1)
|
| return -1;
|
|
|
| return offset;
|
|
|