Index: core/fpdfdoc/cpdf_annot.cpp |
diff --git a/core/fpdfdoc/cpdf_annot.cpp b/core/fpdfdoc/cpdf_annot.cpp |
index 252e8361dd375b113fcb6542dfd363bd3a01dd18..ce84df1ee06b2c432afd7fbb978c0c8168d4e824 100644 |
--- a/core/fpdfdoc/cpdf_annot.cpp |
+++ b/core/fpdfdoc/cpdf_annot.cpp |
@@ -21,7 +21,9 @@ CPDF_Annot::CPDF_Annot(CPDF_Dictionary* pDict, CPDF_Document* pDocument) |
: m_pAnnotDict(pDict), |
m_pDocument(pDocument), |
m_sSubtype(m_pAnnotDict->GetStringBy("Subtype")) { |
- if (m_sSubtype == "Highlight") |
+ if (m_sSubtype == "Circle") |
+ CPVT_GenerateAP::GenerateCircleAP(m_pDocument, m_pAnnotDict); |
+ else if (m_sSubtype == "Highlight") |
CPVT_GenerateAP::GenerateHighlightAP(m_pDocument, m_pAnnotDict); |
else if (m_sSubtype == "Square") |
CPVT_GenerateAP::GenerateSquareAP(m_pDocument, m_pAnnotDict); |