summaryrefslogtreecommitdiff
path: root/fxbarcode/cbc_codabar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/cbc_codabar.cpp')
-rw-r--r--fxbarcode/cbc_codabar.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/fxbarcode/cbc_codabar.cpp b/fxbarcode/cbc_codabar.cpp
index 1d671cebb3..d1501212cc 100644
--- a/fxbarcode/cbc_codabar.cpp
+++ b/fxbarcode/cbc_codabar.cpp
@@ -24,8 +24,10 @@
#include <memory>
#include "fxbarcode/oned/BC_OnedCodaBarWriter.h"
+#include "third_party/base/ptr_util.h"
-CBC_Codabar::CBC_Codabar() : CBC_OneCode(new CBC_OnedCodaBarWriter) {}
+CBC_Codabar::CBC_Codabar()
+ : CBC_OneCode(pdfium::MakeUnique<CBC_OnedCodaBarWriter>()) {}
CBC_Codabar::~CBC_Codabar() {}