diff options
author | dsinclair <dsinclair@chromium.org> | 2016-10-11 14:11:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-11 14:11:16 -0700 |
commit | cf3816187f6cbee5569a5924dc1ce1074ffcad7a (patch) | |
tree | b613dde08108d0c438e8376b8060afae8203a2a3 /fpdfsdk/cpdfsdk_widgethandler.cpp | |
parent | 655fccab2f80af3a0e160116f30796e2da77f919 (diff) | |
download | pdfium-cf3816187f6cbee5569a5924dc1ce1074ffcad7a.tar.xz |
Remove remaining CPDFSDK_Document references
Review-Url: https://codereview.chromium.org/2399213002
Diffstat (limited to 'fpdfsdk/cpdfsdk_widgethandler.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_widgethandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fpdfsdk/cpdfsdk_widgethandler.cpp b/fpdfsdk/cpdfsdk_widgethandler.cpp index 1621181fc7..e294c4f204 100644 --- a/fpdfsdk/cpdfsdk_widgethandler.cpp +++ b/fpdfsdk/cpdfsdk_widgethandler.cpp @@ -54,8 +54,7 @@ FX_BOOL CPDFSDK_WidgetHandler::CanAnswer(CPDFSDK_Annot* pAnnot) { CPDFSDK_Annot* CPDFSDK_WidgetHandler::NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPage) { - CPDFSDK_Document* pSDKDoc = m_pEnv->GetSDKDocument(); - CPDFSDK_InterForm* pInterForm = pSDKDoc->GetInterForm(); + CPDFSDK_InterForm* pInterForm = m_pEnv->GetSDKDocument()->GetInterForm(); CPDF_FormControl* pCtrl = CPDFSDK_Widget::GetFormControl( pInterForm->GetInterForm(), pAnnot->GetAnnotDict()); if (!pCtrl) |