Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2560)

Unified Diff: fpdfsdk/fpdfeditimg.cpp

Issue 2529543003: Add inline JPEGs. (Closed)
Patch Set: Fix rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« core/fpdfapi/page/cpdf_image.cpp ('K') | « core/fpdfapi/page/cpdf_image.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/fpdfeditimg.cpp
diff --git a/fpdfsdk/fpdfeditimg.cpp b/fpdfsdk/fpdfeditimg.cpp
index 531a9abc8c9debe6157448cd7b5608dc2856e197..518437a2be5c6a0c35405c2373a997a4b0f0c200 100644
--- a/fpdfsdk/fpdfeditimg.cpp
+++ b/fpdfsdk/fpdfeditimg.cpp
@@ -40,7 +40,7 @@ FPDFImageObj_LoadJpegFile(FPDF_PAGE* pages,
if (pPage)
pImgObj->GetImage()->ResetCache(pPage, nullptr);
}
- pImgObj->GetImage()->SetJpegImage(pFile);
+ pImgObj->GetImage()->SetJpegImageInline(pFile);
dsinclair 2016/12/13 20:37:14 If this has side-effects we probably don't want to
rbpotter 2016/12/14 01:03:28 Done.
return true;
}
« core/fpdfapi/page/cpdf_image.cpp ('K') | « core/fpdfapi/page/cpdf_image.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698