| Index: xfa/fxfa/app/xfa_ffapp_unittest.cpp
|
| diff --git a/xfa/fxfa/app/xfa_ffapp_unittest.cpp b/xfa/fxfa/app/xfa_ffapp_unittest.cpp
|
| index 10c0545fbbd55d7c03457dd96ea252ef6df1f811..b35780d218e40b4a549e3ca2ab90dcce257c0858 100644
|
| --- a/xfa/fxfa/app/xfa_ffapp_unittest.cpp
|
| +++ b/xfa/fxfa/app/xfa_ffapp_unittest.cpp
|
| @@ -46,11 +46,11 @@ TEST(CXFAFileRead, NormalStreams) {
|
|
|
| // 16 chars total.
|
| stream1->InitStream(reinterpret_cast<const uint8_t*>("one t"), 5,
|
| - new CPDF_Dictionary());
|
| + pdfium::MakeUnique<CPDF_Dictionary>());
|
| stream2->InitStream(reinterpret_cast<const uint8_t*>("wo "), 3,
|
| - new CPDF_Dictionary());
|
| + pdfium::MakeUnique<CPDF_Dictionary>());
|
| stream3->InitStream(reinterpret_cast<const uint8_t*>("three!!!"), 8,
|
| - new CPDF_Dictionary());
|
| + pdfium::MakeUnique<CPDF_Dictionary>());
|
|
|
| streams.push_back(stream1.get());
|
| streams.push_back(stream2.get());
|
|
|