summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhiwei Lin <zhiwei_lin@foxitsoftware.com>2016-03-03 11:13:39 +0800
committerZhiwei Lin <zhiwei_lin@foxitsoftware.com>2016-03-03 11:13:39 +0800
commit41c7a97a1b303e43652f40f1b96ab7751783d8ed (patch)
tree5bafa9f0f977cb3c1cafae8633b7b41f36501608
parent75e1a495ecb89461b3a3af2eb084112d9caac2e0 (diff)
downloadpdfium-41c7a97a1b303e43652f40f1b96ab7751783d8ed.tar.xz
Remove unnecessary code
BUG=pdfium:421 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1758643002 .
-rw-r--r--fpdfsdk/src/fsdk_annothandler.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/fpdfsdk/src/fsdk_annothandler.cpp b/fpdfsdk/src/fsdk_annothandler.cpp
index 27e5e2352a..5c77b3998b 100644
--- a/fpdfsdk/src/fsdk_annothandler.cpp
+++ b/fpdfsdk/src/fsdk_annothandler.cpp
@@ -85,8 +85,6 @@ CPDFSDK_Annot* CPDFSDK_AnnotHandlerMgr::NewAnnot(IXFA_Widget* pAnnot,
#endif // PDF_ENABLE_XFA
void CPDFSDK_AnnotHandlerMgr::ReleaseAnnot(CPDFSDK_Annot* pAnnot) {
- pAnnot->GetPDFPage();
-
if (IPDFSDK_AnnotHandler* pAnnotHandler = GetAnnotHandler(pAnnot)) {
pAnnotHandler->OnRelease(pAnnot);
pAnnotHandler->ReleaseAnnot(pAnnot);