diff options
author | Lei Zhang <thestig@chromium.org> | 2018-09-17 16:44:51 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-09-17 16:44:51 +0000 |
commit | 8071fc75da163ed66e5e3b5fa6e7869a63bfb8a7 (patch) | |
tree | cb9d321d9d60dad1a50d69f0b4a974af11aab93b /fpdfsdk | |
parent | e2e31ee53920d18fd4f138c5292860f338846c95 (diff) | |
download | pdfium-8071fc75da163ed66e5e3b5fa6e7869a63bfb8a7.tar.xz |
Remove deprecated FPDFPage_CountObject().
FPDFPage_CountObjects() is the straight-forward replacement that has
been available for a year.
Change-Id: I64cd379f81234d8295bfcaf9b6effe3467f100d6
Reviewed-on: https://pdfium-review.googlesource.com/42451
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/fpdf_editpage.cpp | 4 | ||||
-rw-r--r-- | fpdfsdk/fpdf_view_c_api_test.c | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/fpdfsdk/fpdf_editpage.cpp b/fpdfsdk/fpdf_editpage.cpp index 0ff7a119a0..30049342ca 100644 --- a/fpdfsdk/fpdf_editpage.cpp +++ b/fpdfsdk/fpdf_editpage.cpp @@ -267,10 +267,6 @@ FPDFPage_RemoveObject(FPDF_PAGE page, FPDF_PAGEOBJECT page_obj) { return pPage->RemovePageObject(pPageObj); } -FPDF_EXPORT int FPDF_CALLCONV FPDFPage_CountObject(FPDF_PAGE page) { - return FPDFPage_CountObjects(page); -} - FPDF_EXPORT int FPDF_CALLCONV FPDFPage_CountObjects(FPDF_PAGE page) { CPDF_Page* pPage = CPDFPageFromFPDFPage(page); if (!IsPageObject(pPage)) diff --git a/fpdfsdk/fpdf_view_c_api_test.c b/fpdfsdk/fpdf_view_c_api_test.c index 393a8f66e8..2c8665156e 100644 --- a/fpdfsdk/fpdf_view_c_api_test.c +++ b/fpdfsdk/fpdf_view_c_api_test.c @@ -172,7 +172,6 @@ int CheckPDFiumCApi() { CHK(FPDFPageObj_SetStrokeColor); CHK(FPDFPageObj_SetStrokeWidth); CHK(FPDFPageObj_Transform); - CHK(FPDFPage_CountObject); CHK(FPDFPage_CountObjects); CHK(FPDFPage_Delete); CHK(FPDFPage_GenerateContent); |