| 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 daefe1028f00e91dbe822f640f7d471cf2d99e0a..0c4be3fa310747ef84226969a5ea536f630e8b6c 100644
|
| --- a/chrome/utility/safe_browsing/mac/udif.cc
|
| +++ b/chrome/utility/safe_browsing/mac/udif.cc
|
| @@ -403,7 +403,7 @@ std::unique_ptr<ReadStream> UDIFParser::GetPartitionReadStream(
|
| size_t part_number) {
|
| DCHECK_LT(part_number, blocks_.size());
|
| return base::MakeUnique<UDIFPartitionReadStream>(stream_, block_size_,
|
| - blocks_[part_number]);
|
| + blocks_[part_number].get());
|
| }
|
|
|
| bool UDIFParser::ParseBlkx() {
|
| @@ -509,7 +509,7 @@ bool UDIFParser::ParseBlkx() {
|
| }
|
|
|
| // Copy the block table out of the plist.
|
| - std::unique_ptr<UDIFBlock> block(new UDIFBlock());
|
| + auto block = base::MakeUnique<UDIFBlock>();
|
| if (!block->ParseBlockData(
|
| reinterpret_cast<const UDIFBlockData*>(CFDataGetBytePtr(data)),
|
| base::checked_cast<size_t>(CFDataGetLength(data)),
|
|
|