summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2017-10-27 15:36:33 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-10-27 15:48:17 +0000
commit42613d8961fe1011210facebe2c8187f79c8eb21 (patch)
tree8752f17f8e0f604b30c66695dbf12602301c60bf /core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp
parentbef4d3e97bba3274add9738d6b199f7760c88f53 (diff)
downloadpdfium-42613d8961fe1011210facebe2c8187f79c8eb21.tar.xz
Revert "Remove ContrastAdjust()."
This reverts commit 53d443f042b590ae2d920def16bc9daf66f8427d. Reason for revert: Breaks PDFToPWGRasterBrowserTest Original change's description: > Remove ContrastAdjust(). > > This post-processing increased the contrast of scaled-down features - > mainly lines and fonts, relative to the background. The effect does not > improved readability and in some cases makes the scaled-down version > look like a different document at a glance. Text that is normal > weight appears bold when scaled down in these cases. > > Change-Id: I2544d45e2bcec25d6742d2a60c1316d8df08cce1 > Reviewed-on: https://pdfium-review.googlesource.com/15471 > Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> > Reviewed-by: dsinclair <dsinclair@chromium.org> TBR=bungeman@chromium.org,dsinclair@chromium.org,hnakashima@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Change-Id: I7f61650bc6d917b3c6640da60f3f740ef4498de0 Reviewed-on: https://pdfium-review.googlesource.com/16970 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp')
-rw-r--r--core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp b/core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp
index 91e625ab26..3770e98d86 100644
--- a/core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp
+++ b/core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp
@@ -43,11 +43,11 @@ TEST_F(CPDFSecurityHandlerEmbeddertest, OwnerPassword) {
TEST_F(CPDFSecurityHandlerEmbeddertest, PasswordAfterGenerateSave) {
#if _FX_PLATFORM_ == _FX_PLATFORM_LINUX_
- const char md5[] = "7048dca58e2ed8f93339008b91e4eb4e";
+ const char md5[] = "e4a3701ca5b2a759e06455aa8d97d46e";
#elif _FX_PLATFORM_ == _FX_PLATFORM_APPLE_
const char md5[] = "6951b6c9891dfe0332a5b1983e484400";
#else
- const char md5[] = "a5dde3c6c37b8716b9b369a03752a728";
+ const char md5[] = "50985f3440d3f66c3b599ab138214015";
#endif // _FX_PLATFORM_ == _FX_PLATFORM_LINUX_
{
ASSERT_TRUE(OpenDocument("encrypted.pdf", "5678", true));