Index: fpdfsdk/pdfwindow/PWL_ListBox.cpp |
diff --git a/fpdfsdk/pdfwindow/PWL_ListBox.cpp b/fpdfsdk/pdfwindow/PWL_ListBox.cpp |
index 2b44e293194c76c9391e0420740ff4f7dd0a97c6..ef1dfb29066a3ddebbea97c6772086ca7c748c3e 100644 |
--- a/fpdfsdk/pdfwindow/PWL_ListBox.cpp |
+++ b/fpdfsdk/pdfwindow/PWL_ListBox.cpp |
@@ -76,7 +76,7 @@ CFX_ByteString CPWL_ListBox::GetClassName() const { |
void CPWL_ListBox::OnCreated() { |
m_pList->SetFontMap(GetFontMap()); |
- m_pListNotify.reset(new CPWL_List_Notify(this)); |
+ m_pListNotify = WrapUnique(new CPWL_List_Notify(this)); |
m_pList->SetNotify(m_pListNotify.get()); |
SetHoverSel(HasFlag(PLBS_HOVERSEL)); |