| Index: components/webp_transcode/webp_decoder_unittest.mm
|
| diff --git a/components/webp_transcode/webp_decoder_unittest.mm b/components/webp_transcode/webp_decoder_unittest.mm
|
| index eb294ab65f4a18f62d5bbc504fcaaccd8274a504..5a82d0687961debe9118cd69f4b83b4679a1b342 100644
|
| --- a/components/webp_transcode/webp_decoder_unittest.mm
|
| +++ b/components/webp_transcode/webp_decoder_unittest.mm
|
| @@ -9,6 +9,8 @@
|
| #include <stddef.h>
|
| #include <stdint.h>
|
|
|
| +#include <memory>
|
| +
|
| #include "base/base_paths.h"
|
| #include "base/files/file_path.h"
|
| #include "base/ios/ios_util.h"
|
| @@ -120,9 +122,9 @@ class WebpDecoderTest : public testing::Test {
|
| bool CheckCompressedImagesEqual(NSData* data_1,
|
| NSData* data_2,
|
| WebpDecoder::DecodedImageFormat format) {
|
| - scoped_ptr<std::vector<uint8_t>> uncompressed_1(
|
| + std::unique_ptr<std::vector<uint8_t>> uncompressed_1(
|
| DecompressData(data_1, format));
|
| - scoped_ptr<std::vector<uint8_t>> uncompressed_2(
|
| + std::unique_ptr<std::vector<uint8_t>> uncompressed_2(
|
| DecompressData(data_2, format));
|
| if (uncompressed_1->size() != uncompressed_2->size()) {
|
| DLOG(ERROR) << "Image sizes don't match";
|
|
|