From 7b99cd3306b669c120d8a581dadd9e480ba420fd Mon Sep 17 00:00:00 2001 From: Chris Palmer Date: Mon, 4 Aug 2014 15:58:07 -0700 Subject: Remove unused |m_pEvi| field. 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 | 1 - fpdfsdk/src/fsdk_actionhandler.cpp | 2 -- 2 files changed, 3 deletions(-) diff --git a/fpdfsdk/include/fsdk_actionhandler.h b/fpdfsdk/include/fsdk_actionhandler.h index 0ffbddb48a..65d38d71fe 100644 --- a/fpdfsdk/include/fsdk_actionhandler.h +++ b/fpdfsdk/include/fsdk_actionhandler.h @@ -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; }; diff --git a/fpdfsdk/src/fsdk_actionhandler.cpp b/fpdfsdk/src/fsdk_actionhandler.cpp index 5ded984c63..97b0a956c7 100644 --- a/fpdfsdk/src/fsdk_actionhandler.cpp +++ b/fpdfsdk/src/fsdk_actionhandler.cpp @@ -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); -- cgit v1.2.3