Make CPDFSDK_BAAnnot::Get{Mutable}AnnotDict() protected methods.
The are only called by the BAAnnot or its Widget subclass.
Change-Id: Ia26ea01d88beb377a98120229994244c5857e8c9
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/96411
Reviewed-by: Lei Zhang <thestig@chromium.org>
Auto-Submit: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/fpdfsdk/cpdfsdk_baannot.h b/fpdfsdk/cpdfsdk_baannot.h
index 2990ad3..4dce72b 100644
--- a/fpdfsdk/cpdfsdk_baannot.h
+++ b/fpdfsdk/cpdfsdk_baannot.h
@@ -55,8 +55,6 @@
const CFX_Matrix& mtUser2Device,
CPDF_Annot::AppearanceMode mode);
- const CPDF_Dictionary* GetAnnotDict() const;
- RetainPtr<CPDF_Dictionary> GetMutableAnnotDict();
CPDF_Annot* GetPDFPopupAnnot() const;
void SetAnnotName(const WideString& sName);
@@ -81,6 +79,8 @@
CPDF_Dest GetDestination() const;
protected:
+ const CPDF_Dictionary* GetAnnotDict() const;
+ RetainPtr<CPDF_Dictionary> GetMutableAnnotDict();
RetainPtr<CPDF_Dictionary> GetAPDict();
void ClearCachedAnnotAP();
bool IsFocusableAnnot(const CPDF_Annot::Subtype& annot_type) const;