Index: fpdfsdk/cpdfsdk_document.cpp |
diff --git a/fpdfsdk/cpdfsdk_document.cpp b/fpdfsdk/cpdfsdk_document.cpp |
index 37d977ec4c58f71f03e760be99296e1c7f9cade8..0aeb91974a0fa9689746ded0222d1dc97ef448d0 100644 |
--- a/fpdfsdk/cpdfsdk_document.cpp |
+++ b/fpdfsdk/cpdfsdk_document.cpp |
@@ -22,14 +22,6 @@ |
#include "fpdfsdk/fsdk_actionhandler.h" |
#include "third_party/base/ptr_util.h" |
-// static |
-CPDFSDK_Document* CPDFSDK_Document::FromFPDFFormHandle( |
- FPDF_FORMHANDLE hHandle) { |
- CPDFSDK_FormFillEnvironment* pEnv = |
- static_cast<CPDFSDK_FormFillEnvironment*>(hHandle); |
- return pEnv ? pEnv->GetSDKDocument() : nullptr; |
-} |
- |
CPDFSDK_Document::CPDFSDK_Document(UnderlyingDocumentType* pDoc, |
CPDFSDK_FormFillEnvironment* pEnv) |
: m_pDoc(pDoc), |