Remove unused |m_pEvi| field.
authorChris Palmer <palmer@google.com>
Mon, 4 Aug 2014 22:58:07 +0000 (15:58 -0700)
committerChris Palmer <palmer@google.com>
Mon, 4 Aug 2014 22:58:07 +0000 (15:58 -0700)
Edge closer to the goal of building PDFium with the chromium_code
configuration.

BUG=https://code.google.com/p/pdfium/issues/detail?id=29
R=bo_xu@foxitsoftware.com, thakis@chromium.org

Review URL: https://codereview.chromium.org/441763002

fpdfsdk/include/fsdk_actionhandler.h
fpdfsdk/src/fsdk_actionhandler.cpp

index 0ffbddb..65d38d7 100644 (file)
@@ -73,7 +73,6 @@ private:
        void                            DoAction_SetOCGState(CPDFSDK_Document* pDocument, /*CReader_DocView* pDocView,*/ const CPDF_Action& action);
        
 private:
-       CPDFDoc_Environment*                    m_pEvi;
        CPDFSDK_FormActionHandler*              m_pFormActionHandler;
        CPDFSDK_MediaActionHandler*             m_pMediaActionHandler;
 };
index 5ded984..97b0a95 100644 (file)
@@ -12,7 +12,6 @@
 /* -------------------------- CBA_ActionHandler -------------------------- */
 
 CPDFSDK_ActionHandler::CPDFSDK_ActionHandler(CPDFDoc_Environment* pEvi) : 
-       m_pEvi(pEvi),
        m_pFormActionHandler(NULL),
        m_pMediaActionHandler(NULL)
 {
@@ -269,7 +268,6 @@ FX_BOOL     CPDFSDK_ActionHandler::ExecuteDocumentPageAction(const CPDF_Action& acti
 
 FX_BOOL        CPDFSDK_ActionHandler::IsValidField(CPDFSDK_Document* pDocument, CPDF_Dictionary* pFieldDict)
 {
-       ASSERT(m_pEvi != NULL);
        ASSERT(pDocument != NULL);
        ASSERT(pFieldDict != NULL);