diff options
author | Lei Zhang <thestig@chromium.org> | 2017-03-15 17:35:47 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-16 18:34:55 +0000 |
commit | cbd8957f6c74a6fd5c3cf2bb656b9a4c80deaa71 (patch) | |
tree | d68b7df5e2e8c6fb505c2e7056ca0cf14a6a5c82 /public/fpdf_edit.h | |
parent | fba16517cf0f4f46fca56c90fdc04653e0890d50 (diff) | |
download | pdfium-cbd8957f6c74a6fd5c3cf2bb656b9a4c80deaa71.tar.xz |
Move FPDFImageObj_LoadJpegHelper() into an anonymous namespace.
Add public FPDFPageObj_NewImageObj() call to replace
FPDFPageObj_NewImgeObj() which is missing a letter.
Change-Id: I5355ee5e5bf7e6e161e2004ec7e9257c85a463f7
Reviewed-on: https://pdfium-review.googlesource.com/2840
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'public/fpdf_edit.h')
-rw-r--r-- | public/fpdf_edit.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h index 423229ab33..34a47a7c83 100644 --- a/public/fpdf_edit.h +++ b/public/fpdf_edit.h @@ -185,6 +185,15 @@ DLLEXPORT void STDCALL FPDFPage_TransformAnnots(FPDF_PAGE page, // // Returns a handle to a new image object. 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|. |