From ac3e57eee888904d39a07b58ca7d57f8f8b0e51a Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Mon, 26 Mar 2018 20:37:40 +0000 Subject: Revert "Add FPDFAnnot_CountAttachmentPoints" This reverts commit ca28cb636331de447125de476decbec333fe613b. Reason for revert: broke Windows embeddertests https://build.chromium.org/p/client.pdfium/builders/windows/builds/4622 I got it when landing my CL, which is unrelated. Since this CL passed the bot, I'm guessing it's a flaky test? Original change's description: > Add FPDFAnnot_CountAttachmentPoints > > This CL adds a function to the API that returns the number of quadpoint > sets. > > Change-Id: I999bc567a4c98f6c32e87810e7ecfbb634c7b677 > Reviewed-on: https://pdfium-review.googlesource.com/29130 > Reviewed-by: Lei Zhang > Commit-Queue: Lei Zhang TBR=thestig@chromium.org,dsinclair@chromium.org,ralf.sippl@gmail.com Change-Id: Id96b5d4e18be2184c9d24f77bda7499aad0ed211 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://pdfium-review.googlesource.com/29190 Reviewed-by: Henrique Nakashima Commit-Queue: Henrique Nakashima --- public/fpdf_annot.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'public') diff --git a/public/fpdf_annot.h b/public/fpdf_annot.h index a84c4f982a..f4dc03a2c4 100644 --- a/public/fpdf_annot.h +++ b/public/fpdf_annot.h @@ -5,8 +5,6 @@ #ifndef PUBLIC_FPDF_ANNOT_H_ #define PUBLIC_FPDF_ANNOT_H_ -#include - // NOLINTNEXTLINE(build/include) #include "fpdfview.h" @@ -312,15 +310,6 @@ FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFAnnot_SetAttachmentPoints(FPDF_ANNOTATION annot, const FS_QUADPOINTSF* quad_points); -// Experimental API. -// Get the number of sets of quadpoints of an annotation. -// -// annot - handle to an annotation. -// -// Returns the number of sets of quadpoints, or 0 on failure. -FPDF_EXPORT size_t FPDF_CALLCONV -FPDFAnnot_CountAttachmentPoints(FPDF_ANNOTATION annot); - // Experimental API. // Get the attachment points (i.e. quadpoints) of an annotation. // -- cgit v1.2.3