Replace some Release() calls with virtual destructors.
[pdfium.git] / fpdfsdk / src / fsdk_baseform.cpp
index f58bfd8..312d323 100644 (file)
@@ -1666,28 +1666,12 @@ CPDFSDK_InterForm::CPDFSDK_InterForm(CPDFSDK_Document* pDocument)
 
 CPDFSDK_InterForm::~CPDFSDK_InterForm()
 {
-       ASSERT(m_pInterForm != NULL);
        delete m_pInterForm;
        m_pInterForm = NULL;
 
        m_Map.RemoveAll();
 }
 
-void CPDFSDK_InterForm::Destroy()
-{
-       delete this;
-}
-
-CPDF_InterForm* CPDFSDK_InterForm::GetInterForm()
-{
-       return m_pInterForm;
-}
-
-CPDFSDK_Document* CPDFSDK_InterForm::GetDocument()
-{
-       return m_pDocument;
-}
-
 FX_BOOL CPDFSDK_InterForm::HighlightWidgets()
 {
        return FALSE;