Use observed pointers in CPDFSDK_AnnotIterator.
Rename to CPDFSDK_AnnotIteration, as it is now an ordered set of
annots, and not the iterator itself.
Review-Url: https://codereview.chromium.org/2626073005
diff --git a/fpdfsdk/cpdfsdk_baannot.h b/fpdfsdk/cpdfsdk_baannot.h
index 10f27e6..2da5723 100644
--- a/fpdfsdk/cpdfsdk_baannot.h
+++ b/fpdfsdk/cpdfsdk_baannot.h
@@ -100,7 +100,7 @@
void SetOpenState(bool bState);
protected:
- CPDF_Annot* m_pAnnot;
+ CPDF_Annot* const m_pAnnot;
};
#endif // FPDFSDK_CPDFSDK_BAANNOT_H_