diff options
Diffstat (limited to 'fpdfsdk/include')
-rw-r--r-- | fpdfsdk/include/cpdfsdk_environment.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fpdfsdk/include/cpdfsdk_environment.h b/fpdfsdk/include/cpdfsdk_environment.h index 61916e46ad..b694359320 100644 --- a/fpdfsdk/include/cpdfsdk_environment.h +++ b/fpdfsdk/include/cpdfsdk_environment.h @@ -166,6 +166,9 @@ class CPDFSDK_Environment final { std::unique_ptr<CPDFSDK_ActionHandler> m_pActionHandler; std::unique_ptr<IJS_Runtime> m_pJSRuntime; FPDF_FORMFILLINFO* const m_pInfo; + // Ownership of |m_pSDKDoc| depends on if this is XFA. If we're in XFA then + // the object is owned by the CPDFXFA_Document. In non-xfa then we own + // the pointer. CPDFSDK_Document* m_pSDKDoc; UnderlyingDocumentType* const m_pUnderlyingDoc; std::unique_ptr<CFFL_InteractiveFormFiller> m_pFormFiller; |