diff options
author | jaepark <jaepark@google.com> | 2016-08-09 15:19:35 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-09 15:19:35 -0700 |
commit | 39ba18a64283ef3fc3c4aedf537a09835f90862e (patch) | |
tree | 3b4a6f729f11ea8da02990cdbdf62ec1896eff76 /core/fpdfdoc/cpdf_annot.cpp | |
parent | e76203dbefd1df075a063ee019c3908513f6bee5 (diff) | |
download | pdfium-39ba18a64283ef3fc3c4aedf537a09835f90862e.tar.xz |
Generate default AP stream for ink annotation.
This patch generates a default AP stream for ink annotation so that ink
annotations without AP stream can be displayed.
Also, roll DEPS for testing/corpus to 4119f8e to test ink annotations.
BUG=62625
Review-Url: https://codereview.chromium.org/2232553002
Diffstat (limited to 'core/fpdfdoc/cpdf_annot.cpp')
-rw-r--r-- | core/fpdfdoc/cpdf_annot.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fpdfdoc/cpdf_annot.cpp b/core/fpdfdoc/cpdf_annot.cpp index ce84df1ee0..bff9131b46 100644 --- a/core/fpdfdoc/cpdf_annot.cpp +++ b/core/fpdfdoc/cpdf_annot.cpp @@ -25,6 +25,8 @@ CPDF_Annot::CPDF_Annot(CPDF_Dictionary* pDict, CPDF_Document* pDocument) CPVT_GenerateAP::GenerateCircleAP(m_pDocument, m_pAnnotDict); else if (m_sSubtype == "Highlight") CPVT_GenerateAP::GenerateHighlightAP(m_pDocument, m_pAnnotDict); + else if (m_sSubtype == "Ink") + CPVT_GenerateAP::GenerateInkAP(m_pDocument, m_pAnnotDict); else if (m_sSubtype == "Square") CPVT_GenerateAP::GenerateSquareAP(m_pDocument, m_pAnnotDict); else if (m_sSubtype == "Squiggly") |