From 04e4dc88da34c323e7a16586bddf377a610d63c5 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 18 Oct 2017 12:17:14 -0400 Subject: Fix rounding of colour values This CL fixes rounding issues with the colour values when written then read from path objects. Bug: pdfium:919 Change-Id: I8ab33706f1c7d81c3ec755706b1a613cf2a557b3 Reviewed-on: https://pdfium-review.googlesource.com/16270 Reviewed-by: Henrique Nakashima Commit-Queue: dsinclair --- testing/embedder_test.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'testing/embedder_test.h') diff --git a/testing/embedder_test.h b/testing/embedder_test.h index be89c2a6cd..606472bc1d 100644 --- a/testing/embedder_test.h +++ b/testing/embedder_test.h @@ -143,12 +143,12 @@ class EmbedderTest : public ::testing::Test, unsigned char* buf, unsigned long size); - void TestSaved(int width, - int height, - const char* md5, - const char* password = nullptr); - void CloseSaved(); - void TestAndCloseSaved(int width, int height, const char* md5); + FPDF_DOCUMENT OpenSavedDocument(const char* password = nullptr); + void CloseSavedDocument(); + FPDF_PAGE LoadSavedPage(); + void CloseSavedPage(); + void VerifySavedRendering(int width, int height, const char* md5); + void VerifySavedDocument(int width, int height, const char* md5); void SetWholeFileAvailable(); -- cgit v1.2.3