diff options
Diffstat (limited to 'fpdfsdk/fpdfppo_embeddertest.cpp')
-rw-r--r-- | fpdfsdk/fpdfppo_embeddertest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/fpdfppo_embeddertest.cpp b/fpdfsdk/fpdfppo_embeddertest.cpp index 1df677f66b..c642b71ac0 100644 --- a/fpdfsdk/fpdfppo_embeddertest.cpp +++ b/fpdfsdk/fpdfppo_embeddertest.cpp @@ -158,7 +158,7 @@ TEST_F(FPDFPPOEmbeddertest, BUG_750568) { ASSERT_EQ(200, FPDFBitmap_GetHeight(bitmap)); ASSERT_EQ(800, FPDFBitmap_GetStride(bitmap)); - std::string digest = HashBitmap(bitmap, 200, 200); + std::string digest = HashBitmap(bitmap); FPDFBitmap_Destroy(bitmap); UnloadPage(page); EXPECT_EQ(kHashes[i], digest); @@ -177,7 +177,7 @@ TEST_F(FPDFPPOEmbeddertest, BUG_750568) { ASSERT_EQ(200, FPDFBitmap_GetHeight(bitmap)); ASSERT_EQ(800, FPDFBitmap_GetStride(bitmap)); - std::string digest = HashBitmap(bitmap, 200, 200); + std::string digest = HashBitmap(bitmap); FPDFBitmap_Destroy(bitmap); FPDF_ClosePage(page); EXPECT_EQ(kHashes[i], digest); @@ -195,7 +195,7 @@ TEST_F(FPDFPPOEmbeddertest, ImportWithZeroLengthStream) { ASSERT_EQ(200, FPDFBitmap_GetHeight(bitmap)); ASSERT_EQ(800, FPDFBitmap_GetStride(bitmap)); - std::string digest = HashBitmap(bitmap, 200, 200); + std::string digest = HashBitmap(bitmap); FPDFBitmap_Destroy(bitmap); FPDF_ClosePage(page); @@ -211,7 +211,7 @@ TEST_F(FPDFPPOEmbeddertest, ImportWithZeroLengthStream) { ASSERT_EQ(200, FPDFBitmap_GetHeight(new_bitmap)); ASSERT_EQ(800, FPDFBitmap_GetStride(new_bitmap)); - std::string new_digest = HashBitmap(new_bitmap, 200, 200); + std::string new_digest = HashBitmap(new_bitmap); FPDFBitmap_Destroy(new_bitmap); FPDF_ClosePage(new_page); FPDF_CloseDocument(new_doc); |