diff options
author | Lei Zhang <thestig@chromium.org> | 2017-05-09 12:19:56 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-09 21:06:14 +0000 |
commit | 392cfd62f6fd6fc505b644b67938ea30131eb837 (patch) | |
tree | 140eae6fd8f43f9749aba7eccbb6c41a37d547fb | |
parent | fe5c7c28c2f048eda4aa58cb8932d0d6f3f98114 (diff) | |
download | pdfium-392cfd62f6fd6fc505b644b67938ea30131eb837.tar.xz |
Remove FPDFPageObj_NewImgeObj().
Callers should use FPDFPageObj_NewImageObj() instead.
Change-Id: If9f262af771344799a372645e466d3b8e64482ed
Reviewed-on: https://pdfium-review.googlesource.com/5153
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
-rw-r--r-- | fpdfsdk/fpdfeditimg.cpp | 5 | ||||
-rw-r--r-- | fpdfsdk/fpdfview_c_api_test.c | 1 | ||||
-rw-r--r-- | public/fpdf_edit.h | 9 |
3 files changed, 0 insertions, 15 deletions
diff --git a/fpdfsdk/fpdfeditimg.cpp b/fpdfsdk/fpdfeditimg.cpp index 4738bd1325..1207ecf06d 100644 --- a/fpdfsdk/fpdfeditimg.cpp +++ b/fpdfsdk/fpdfeditimg.cpp @@ -53,11 +53,6 @@ FPDFPageObj_NewImageObj(FPDF_DOCUMENT document) { return pImageObj.release(); } -DLLEXPORT FPDF_PAGEOBJECT STDCALL -FPDFPageObj_NewImgeObj(FPDF_DOCUMENT document) { - return FPDFPageObj_NewImageObj(document); -} - DLLEXPORT FPDF_BOOL STDCALL FPDFImageObj_LoadJpegFile(FPDF_PAGE* pages, int nCount, diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c index 1606abbf08..fe56b1a345 100644 --- a/fpdfsdk/fpdfview_c_api_test.c +++ b/fpdfsdk/fpdfview_c_api_test.c @@ -83,7 +83,6 @@ int CheckPDFiumCApi() { CHK(FPDFPageObj_Transform); CHK(FPDFPage_TransformAnnots); CHK(FPDFPageObj_NewImageObj); - CHK(FPDFPageObj_NewImgeObj); CHK(FPDFImageObj_LoadJpegFile); CHK(FPDFImageObj_LoadJpegFileInline); CHK(FPDFImageObj_SetMatrix); diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h index 5784b90feb..f9edfa3426 100644 --- a/public/fpdf_edit.h +++ b/public/fpdf_edit.h @@ -196,15 +196,6 @@ DLLEXPORT void STDCALL FPDFPage_TransformAnnots(FPDF_PAGE page, DLLEXPORT FPDF_PAGEOBJECT STDCALL FPDFPageObj_NewImageObj(FPDF_DOCUMENT document); -// Create a new image object. -// DEPRECATED. Please use FPDFPageObj_NewImageObj() above. -// -// document - handle to a document. -// -// Returns a handle to a new image object. -DLLEXPORT FPDF_PAGEOBJECT STDCALL -FPDFPageObj_NewImgeObj(FPDF_DOCUMENT document); - // Load an image from a JPEG image file and then set it into |image_object|. // // pages - pointer to the start of all loaded pages, may be NULL. |