summaryrefslogtreecommitdiff
path: root/fxbarcode/cbc_onecode.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-05-01 14:24:19 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-05-02 14:12:00 +0000
commitea23e0a2d6540d6fbc03ebc74e1e6c17dc254f32 (patch)
treefc3b7928120614d5e5c292ba1c7f8cfdd6e95e4b /fxbarcode/cbc_onecode.cpp
parent0804b3f5114ff09df9b10207997e1f16c868b45e (diff)
downloadpdfium-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_onecode.cpp')
-rw-r--r--fxbarcode/cbc_onecode.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/fxbarcode/cbc_onecode.cpp b/fxbarcode/cbc_onecode.cpp
index ec7033a1f1..2d64704f7e 100644
--- a/fxbarcode/cbc_onecode.cpp
+++ b/fxbarcode/cbc_onecode.cpp
@@ -21,9 +21,12 @@
#include "fxbarcode/cbc_onecode.h"
+#include <utility>
+
#include "fxbarcode/oned/BC_OneDimWriter.h"
-CBC_OneCode::CBC_OneCode(CBC_Writer* pWriter) : CBC_CodeBase(pWriter) {}
+CBC_OneCode::CBC_OneCode(std::unique_ptr<CBC_Writer> pWriter)
+ : CBC_CodeBase(std::move(pWriter)) {}
CBC_OneCode::~CBC_OneCode() {}