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

Unified Diff: fpdfsdk/fpdfeditimg_unittest.cpp

Issue 2494683007: Fix sevg above CPDF_PageContentGenerator::ProcessImage() (Closed)
Patch Set: Use IsInline() Created 4 years, 1 month 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
« no previous file with comments | « core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/fpdfeditimg_unittest.cpp
diff --git a/fpdfsdk/fpdfeditimg_unittest.cpp b/fpdfsdk/fpdfeditimg_unittest.cpp
index a844e7ec7103db8fd1b8401a3541931d96cd8f1e..ae4af2591e005d7cb2654f72f5a8ba4cad4733f1 100644
--- a/fpdfsdk/fpdfeditimg_unittest.cpp
+++ b/fpdfsdk/fpdfeditimg_unittest.cpp
@@ -43,6 +43,7 @@ TEST_F(PDFEditTest, NewImgeObj) {
FPDF_PAGEOBJECT page_image = FPDFPageObj_NewImgeObj(doc);
FPDFPage_InsertObject(page, page_image);
EXPECT_EQ(1, FPDFPage_CountObject(page));
+ EXPECT_TRUE(FPDFPage_GenerateContent(page));
FPDF_ClosePage(page);
FPDF_CloseDocument(doc);
« no previous file with comments | « core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698