summaryrefslogtreecommitdiff
path: root/fxbarcode/cbc_pdf417i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/cbc_pdf417i.cpp')
-rw-r--r--fxbarcode/cbc_pdf417i.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/fxbarcode/cbc_pdf417i.cpp b/fxbarcode/cbc_pdf417i.cpp
index 51a3643c8b..23ad3ef74d 100644
--- a/fxbarcode/cbc_pdf417i.cpp
+++ b/fxbarcode/cbc_pdf417i.cpp
@@ -24,8 +24,10 @@
#include <memory>
#include "fxbarcode/pdf417/BC_PDF417Writer.h"
+#include "third_party/base/ptr_util.h"
-CBC_PDF417I::CBC_PDF417I() : CBC_CodeBase(new CBC_PDF417Writer) {}
+CBC_PDF417I::CBC_PDF417I()
+ : CBC_CodeBase(pdfium::MakeUnique<CBC_PDF417Writer>()) {}
CBC_PDF417I::~CBC_PDF417I() {}