summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Palmer <palmer@google.com>2014-08-04 15:58:07 -0700
committerChris Palmer <palmer@google.com>2014-08-04 15:58:07 -0700
commit7b99cd3306b669c120d8a581dadd9e480ba420fd (patch)
tree7f615c230fb8a60deaa2df758ee55a63172fc4cf
parentf47ab5401690e29be552279e6327408bacde0c63 (diff)
downloadpdfium-7b99cd3306b669c120d8a581dadd9e480ba420fd.tar.xz
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
-rw-r--r--fpdfsdk/include/fsdk_actionhandler.h1
-rw-r--r--fpdfsdk/src/fsdk_actionhandler.cpp2
2 files changed, 0 insertions, 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);