summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfview_c_api_test.c
diff options
context:
space:
mode:
authorJane Liu <janeliulwq@google.com>2017-06-29 13:40:22 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-29 20:11:24 +0000
commit8ce58f522e046ae3b1561d592ca7b3cd7c894731 (patch)
tree571c245639b8321dae3c3a1254e317d59ee2b8bc /fpdfsdk/fpdfview_c_api_test.c
parentf1eae2c37cb4bbf7a536cf251706147bbac51880 (diff)
downloadpdfium-8ce58f522e046ae3b1561d592ca7b3cd7c894731.tar.xz
Added FPDFAnnot_RemoveAnnot()
Added an API for removing annotation and an embedder test for it. Bug=pdfium:737 Change-Id: I6f01625e8103078b83967a57a5c1a7a26bc0c70a Reviewed-on: https://pdfium-review.googlesource.com/7039 Commit-Queue: Jane Liu <janeliulwq@google.com> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfview_c_api_test.c')
-rw-r--r--fpdfsdk/fpdfview_c_api_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c
index 05242c6fe1..f9a3c387c2 100644
--- a/fpdfsdk/fpdfview_c_api_test.c
+++ b/fpdfsdk/fpdfview_c_api_test.c
@@ -40,6 +40,7 @@ int CheckPDFiumCApi() {
CHK(FPDFPage_GetAnnotCount);
CHK(FPDFPage_GetAnnot);
CHK(FPDFPage_CloseAnnot);
+ CHK(FPDFPage_RemoveAnnot);
CHK(FPDFAnnot_GetSubtype);
CHK(FPDFAnnot_SetColor);
CHK(FPDFAnnot_GetColor);