diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-05-01 14:24:19 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-02 14:12:00 +0000 |
commit | ea23e0a2d6540d6fbc03ebc74e1e6c17dc254f32 (patch) | |
tree | fc3b7928120614d5e5c292ba1c7f8cfdd6e95e4b /fxbarcode/cbc_ean13.cpp | |
parent | 0804b3f5114ff09df9b10207997e1f16c868b45e (diff) | |
download | pdfium-ea23e0a2d6540d6fbc03ebc74e1e6c17dc254f32.tar.xz |
Remove more |new|s, part 8
Change-Id: I0e3f4bd33e66fd48db8371a5cc2f8db964720d08
Reviewed-on: https://pdfium-review.googlesource.com/4731
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxbarcode/cbc_ean13.cpp')
-rw-r--r-- | fxbarcode/cbc_ean13.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fxbarcode/cbc_ean13.cpp b/fxbarcode/cbc_ean13.cpp index 73638b951f..1c57a877f2 100644 --- a/fxbarcode/cbc_ean13.cpp +++ b/fxbarcode/cbc_ean13.cpp @@ -24,8 +24,10 @@ #include <memory> #include "fxbarcode/oned/BC_OnedEAN13Writer.h" +#include "third_party/base/ptr_util.h" -CBC_EAN13::CBC_EAN13() : CBC_OneCode(new CBC_OnedEAN13Writer) {} +CBC_EAN13::CBC_EAN13() + : CBC_OneCode(pdfium::MakeUnique<CBC_OnedEAN13Writer>()) {} CBC_EAN13::~CBC_EAN13() {} |