| Index: fpdfsdk/pdfwindow/PWL_Wnd.cpp
|
| diff --git a/fpdfsdk/pdfwindow/PWL_Wnd.cpp b/fpdfsdk/pdfwindow/PWL_Wnd.cpp
|
| index adda0bbbc950ffc202a1ce6f442767b025ef0424..207157db7e52c589a11024c48e42690e13168bc9 100644
|
| --- a/fpdfsdk/pdfwindow/PWL_Wnd.cpp
|
| +++ b/fpdfsdk/pdfwindow/PWL_Wnd.cpp
|
| @@ -86,7 +86,7 @@ CPWL_TimerHandler::~CPWL_TimerHandler() {}
|
|
|
| void CPWL_TimerHandler::BeginTimer(int32_t nElapse) {
|
| if (!m_pTimer)
|
| - m_pTimer.reset(new CPWL_Timer(this, GetSystemHandler()));
|
| + m_pTimer = WrapUnique(new CPWL_Timer(this, GetSystemHandler()));
|
|
|
| if (m_pTimer)
|
| m_pTimer->SetPWLTimer(nElapse);
|
|
|