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