| Index: xfa/src/fwl/src/lightwidget/tooltipctrl.cpp
|
| diff --git a/xfa/src/fwl/src/lightwidget/tooltipctrl.cpp b/xfa/src/fwl/src/lightwidget/tooltipctrl.cpp
|
| index c2ee5636ce8710ba793ee674ab770b5ef8ee7ddc..908fe3d357b0097b6fd50c437763ea8b021b05f9 100644
|
| --- a/xfa/src/fwl/src/lightwidget/tooltipctrl.cpp
|
| +++ b/xfa/src/fwl/src/lightwidget/tooltipctrl.cpp
|
| @@ -4,6 +4,8 @@
|
|
|
| // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
|
|
|
| +#include <memory>
|
| +
|
| #include "../../../foxitlib.h"
|
| #include "../core/include/fwl_targetimp.h"
|
| #include "../core/include/fwl_noteimp.h"
|
| @@ -11,6 +13,7 @@
|
| #include "../core/include/fwl_panelimp.h"
|
| #include "../core/include/fwl_formimp.h"
|
| #include "../core/include/fwl_threadimp.h"
|
| +
|
| CFWL_ToolTip* CFWL_ToolTip::Create() {
|
| return new CFWL_ToolTip;
|
| }
|
| @@ -20,7 +23,7 @@ FWL_ERR CFWL_ToolTip::Initialize(const CFWL_WidgetProperties* pProperties) {
|
| if (pProperties) {
|
| *m_pProperties = *pProperties;
|
| }
|
| - nonstd::unique_ptr<IFWL_ToolTip> pToolTip(IFWL_ToolTip::Create(
|
| + std::unique_ptr<IFWL_ToolTip> pToolTip(IFWL_ToolTip::Create(
|
| m_pProperties->MakeWidgetImpProperties(&m_tooltipData), nullptr));
|
| FWL_ERR ret = pToolTip->Initialize();
|
| if (ret != FWL_ERR_Succeeded) {
|
|
|