diff options
author | dsinclair <dsinclair@chromium.org> | 2016-10-03 11:25:00 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-03 11:25:00 -0700 |
commit | e5393582a7f5dbb655a97d64531638b302ee684e (patch) | |
tree | ac5503a23a1bcfb2c9d49042227468cc587d1f35 /fpdfsdk/cpdfsdk_pageview.cpp | |
parent | c9347083c8b813454e971ce9e648cf7d8b25d60b (diff) | |
download | pdfium-e5393582a7f5dbb655a97d64531638b302ee684e.tar.xz |
Remove unused CPDFSDK_PageView::ClearFXAnnots
Method is not called, removing.
Review-Url: https://codereview.chromium.org/2391663002
Diffstat (limited to 'fpdfsdk/cpdfsdk_pageview.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_pageview.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/fpdfsdk/cpdfsdk_pageview.cpp b/fpdfsdk/cpdfsdk_pageview.cpp index bf4d8c6979..beba7b68f4 100644 --- a/fpdfsdk/cpdfsdk_pageview.cpp +++ b/fpdfsdk/cpdfsdk_pageview.cpp @@ -511,20 +511,6 @@ void CPDFSDK_PageView::LoadFXAnnots() { SetLock(FALSE); } -void CPDFSDK_PageView::ClearFXAnnots() { - SetLock(TRUE); - if (m_pSDKDoc && GetFocusAnnot()) { - CPDFSDK_Annot::ObservedPtr pNull; - m_pSDKDoc->SetFocusAnnot(&pNull); - } - m_pCaptureWidget.Reset(); - for (CPDFSDK_Annot* pAnnot : m_fxAnnotArray) - m_pSDKDoc->GetEnv()->GetAnnotHandlerMgr()->ReleaseAnnot(pAnnot); - m_fxAnnotArray.clear(); - m_pAnnotList.reset(); - SetLock(FALSE); -} - void CPDFSDK_PageView::UpdateRects(const std::vector<CFX_FloatRect>& rects) { CPDFSDK_Environment* pEnv = m_pSDKDoc->GetEnv(); for (const auto& rc : rects) |