summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-11-21 13:37:28 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-21 13:37:28 -0800
commitbcd3e538f170a5ab2c3295f1a3b0062781d384a5 (patch)
tree0a16f383cfd22b4b9d26c7acdb085d5b05843631 /core/fpdfapi/page
parentd33c8e3145539631d03242a16c3683c3538c7557 (diff)
downloadpdfium-bcd3e538f170a5ab2c3295f1a3b0062781d384a5.tar.xz
Check dimensions and content of bitmaps in EmbedderTests.chromium/2927
Review-Url: https://codereview.chromium.org/2514173002
Diffstat (limited to 'core/fpdfapi/page')
-rw-r--r--core/fpdfapi/page/fpdf_page_func_embeddertest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/fpdfapi/page/fpdf_page_func_embeddertest.cpp b/core/fpdfapi/page/fpdf_page_func_embeddertest.cpp
index 2892036882..6a1b87b570 100644
--- a/core/fpdfapi/page/fpdf_page_func_embeddertest.cpp
+++ b/core/fpdfapi/page/fpdf_page_func_embeddertest.cpp
@@ -15,6 +15,7 @@ TEST_F(FPDFPageFuncEmbeddertest, Bug_551460) {
FPDF_PAGE page = LoadPage(0);
EXPECT_NE(nullptr, page);
FPDF_BITMAP bitmap = RenderPage(page);
+ CompareBitmap(bitmap, 612, 792, "1940568c9ba33bac5d0b1ee9558c76b3");
FPDFBitmap_Destroy(bitmap);
UnloadPage(page);
}