summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_xfawidgethandler.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-10-11 14:11:16 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-11 14:11:16 -0700
commitcf3816187f6cbee5569a5924dc1ce1074ffcad7a (patch)
treeb613dde08108d0c438e8376b8060afae8203a2a3 /fpdfsdk/cpdfsdk_xfawidgethandler.cpp
parent655fccab2f80af3a0e160116f30796e2da77f919 (diff)
downloadpdfium-cf3816187f6cbee5569a5924dc1ce1074ffcad7a.tar.xz
Remove remaining CPDFSDK_Document references
Review-Url: https://codereview.chromium.org/2399213002
Diffstat (limited to 'fpdfsdk/cpdfsdk_xfawidgethandler.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_xfawidgethandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/cpdfsdk_xfawidgethandler.cpp b/fpdfsdk/cpdfsdk_xfawidgethandler.cpp
index b936bc4c66..8551445ef1 100644
--- a/fpdfsdk/cpdfsdk_xfawidgethandler.cpp
+++ b/fpdfsdk/cpdfsdk_xfawidgethandler.cpp
@@ -39,8 +39,7 @@ CPDFSDK_Annot* CPDFSDK_XFAWidgetHandler::NewAnnot(CPDF_Annot* pAnnot,
CPDFSDK_Annot* CPDFSDK_XFAWidgetHandler::NewAnnot(CXFA_FFWidget* pAnnot,
CPDFSDK_PageView* pPage) {
- CPDFSDK_Document* pSDKDoc = m_pEnv->GetSDKDocument();
- CPDFSDK_InterForm* pInterForm = pSDKDoc->GetInterForm();
+ CPDFSDK_InterForm* pInterForm = m_pEnv->GetSDKDocument()->GetInterForm();
CPDFSDK_XFAWidget* pWidget = new CPDFSDK_XFAWidget(pAnnot, pPage, pInterForm);
pInterForm->AddXFAMap(pAnnot, pWidget);
return pWidget;