summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_annotiterator.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-09 21:15:17 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-09 21:15:17 +0000
commit8153561249b45ba45f6e393cc081eb1101f3f7a6 (patch)
tree142c4cd8a56aa73b2874d0f6d95777ff4a9eb4c0 /fpdfsdk/cpdfsdk_annotiterator.cpp
parent8c62883bdb9d695069a483133ddc96d5b85ec472 (diff)
downloadpdfium-8153561249b45ba45f6e393cc081eb1101f3f7a6.tar.xz
Do IWYU for cpdf_dictionary.h.
Move some method implementations out of headers in the process. Change-Id: I8701e360d4addd9aec39fe887d932209985d2443 Reviewed-on: https://pdfium-review.googlesource.com/c/43608 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_annotiterator.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_annotiterator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_annotiterator.cpp b/fpdfsdk/cpdfsdk_annotiterator.cpp
index d85dbe46eb..f1919ab77c 100644
--- a/fpdfsdk/cpdfsdk_annotiterator.cpp
+++ b/fpdfsdk/cpdfsdk_annotiterator.cpp
@@ -9,6 +9,7 @@
#include <algorithm>
#include "core/fpdfapi/page/cpdf_page.h"
+#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "fpdfsdk/cpdfsdk_annot.h"
#include "fpdfsdk/cpdfsdk_pageview.h"
@@ -46,7 +47,7 @@ CPDFSDK_AnnotIterator::CPDFSDK_AnnotIterator(CPDFSDK_PageView* pPageView,
GenerateResults();
}
-CPDFSDK_AnnotIterator::~CPDFSDK_AnnotIterator() {}
+CPDFSDK_AnnotIterator::~CPDFSDK_AnnotIterator() = default;
CPDFSDK_Annot* CPDFSDK_AnnotIterator::GetFirstAnnot() {
return m_Annots.empty() ? nullptr : m_Annots.front();