summaryrefslogtreecommitdiff
path: root/testing/embedder_test.h
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2017-11-10 22:40:44 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-10 22:40:44 +0000
commit9fa5036245c34ce8c420531c5b02e699a861bc18 (patch)
tree41030e8cd39e5c06e75b2c6fd17513e0a5ae92fe /testing/embedder_test.h
parent6e4656f88fba94f706e0e42d1b548e28f6645594 (diff)
downloadpdfium-9fa5036245c34ce8c420531c5b02e699a861bc18.tar.xz
Add FPDFSaveEmbedderTest.SaveLinearizedDocchromium/3267chromium/3266
Bug: pdfium:614 Change-Id: I3c6cd16dfe0ac5db66cc9e996d3f4e74a5d9d716 Reviewed-on: https://pdfium-review.googlesource.com/18251 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing/embedder_test.h')
-rw-r--r--testing/embedder_test.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/testing/embedder_test.h b/testing/embedder_test.h
index df9e837f0f..7b6b40a818 100644
--- a/testing/embedder_test.h
+++ b/testing/embedder_test.h
@@ -125,9 +125,7 @@ class EmbedderTest : public ::testing::Test,
FPDF_FORMHANDLE SetupFormFillEnvironment(FPDF_DOCUMENT doc);
// Return the hash of |bitmap|.
- static std::string HashBitmap(FPDF_BITMAP bitmap,
- int expected_width,
- int expected_height);
+ static std::string HashBitmap(FPDF_BITMAP bitmap);
// Check |bitmap| to make sure it has the right dimensions and content.
static void CompareBitmap(FPDF_BITMAP bitmap,
@@ -146,6 +144,7 @@ class EmbedderTest : public ::testing::Test,
FPDF_DOCUMENT OpenSavedDocument(const char* password = nullptr);
void CloseSavedDocument();
FPDF_PAGE LoadSavedPage(int page_number);
+ FPDF_BITMAP RenderSavedPage(FPDF_PAGE page);
void CloseSavedPage(FPDF_PAGE page);
void VerifySavedRendering(FPDF_PAGE page,
int width,