Remove unused CXFA_FFWidgetHandler::GetObjFactory() and GetXFADoc().
Change-Id: Iebdf3b3f9fbe1caeccf68f9783ed6567f46968d9
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/64912
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/xfa/fxfa/cxfa_ffwidgethandler.cpp b/xfa/fxfa/cxfa_ffwidgethandler.cpp
index 3335a9e..aa5dc3a 100644
--- a/xfa/fxfa/cxfa_ffwidgethandler.cpp
+++ b/xfa/fxfa/cxfa_ffwidgethandler.cpp
@@ -257,11 +257,3 @@
return pNode->ProcessEvent(m_pDocView.Get(),
gs_EventActivity[pParam->m_eType], pParam);
}
-
-CXFA_Document* CXFA_FFWidgetHandler::GetObjFactory() const {
- return GetXFADoc();
-}
-
-CXFA_Document* CXFA_FFWidgetHandler::GetXFADoc() const {
- return m_pDocView->GetDoc()->GetXFADoc();
-}
diff --git a/xfa/fxfa/cxfa_ffwidgethandler.h b/xfa/fxfa/cxfa_ffwidgethandler.h
index ab1cda1..172a8c6 100644
--- a/xfa/fxfa/cxfa_ffwidgethandler.h
+++ b/xfa/fxfa/cxfa_ffwidgethandler.h
@@ -71,9 +71,6 @@
XFA_EventError ProcessEvent(CXFA_Node* pNode, CXFA_EventParam* pParam);
private:
- CXFA_Document* GetObjFactory() const;
- CXFA_Document* GetXFADoc() const;
-
UnownedPtr<CXFA_FFDocView> m_pDocView;
};