summaryrefslogtreecommitdiff
path: root/fxbarcode/cbc_code128.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/cbc_code128.cpp')
-rw-r--r--fxbarcode/cbc_code128.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/fxbarcode/cbc_code128.cpp b/fxbarcode/cbc_code128.cpp
index 822aba06bc..93a4ae88f4 100644
--- a/fxbarcode/cbc_code128.cpp
+++ b/fxbarcode/cbc_code128.cpp
@@ -24,9 +24,10 @@
#include <memory>
#include "fxbarcode/oned/BC_OnedCode128Writer.h"
+#include "third_party/base/ptr_util.h"
CBC_Code128::CBC_Code128(BC_TYPE type)
- : CBC_OneCode(new CBC_OnedCode128Writer(type)) {}
+ : CBC_OneCode(pdfium::MakeUnique<CBC_OnedCode128Writer>(type)) {}
CBC_Code128::~CBC_Code128() {}