| Index: xfa/src/fwl/src/lightwidget/barcode.cpp
|
| diff --git a/xfa/src/fwl/src/lightwidget/barcode.cpp b/xfa/src/fwl/src/lightwidget/barcode.cpp
|
| index a0704c4bd93e42ecb6ff4d61767c39bb6d6e7990..1868b126869009a2c96ae2d5a04cd3d77487d2e2 100644
|
| --- a/xfa/src/fwl/src/lightwidget/barcode.cpp
|
| +++ b/xfa/src/fwl/src/lightwidget/barcode.cpp
|
| @@ -4,7 +4,10 @@
|
|
|
| // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
|
|
|
| +#include <memory>
|
| +
|
| #include "../../../foxitlib.h"
|
| +
|
| CFWL_Barcode* CFWL_Barcode::Create() {
|
| return new CFWL_Barcode;
|
| }
|
| @@ -14,7 +17,7 @@ FWL_ERR CFWL_Barcode::Initialize(const CFWL_WidgetProperties* pProperties) {
|
| if (pProperties) {
|
| *m_pProperties = *pProperties;
|
| }
|
| - nonstd::unique_ptr<IFWL_Barcode> pBarcode(IFWL_Barcode::Create(
|
| + std::unique_ptr<IFWL_Barcode> pBarcode(IFWL_Barcode::Create(
|
| m_pProperties->MakeWidgetImpProperties(&m_barcodeData)));
|
| FWL_ERR ret = pBarcode->Initialize();
|
| if (ret != FWL_ERR_Succeeded) {
|
|
|