Roll build/ d4fe00fc1..414118826 (1 commit)
https://chromium.googlesource.com/chromium/src/build.git/+log/d4fe00fc1232..414118826cde
This pulls in Windows 10 19041 SDK. Due to the SDK update, some PDFs now
render slightly differently due to rounding errors. Update embedder
tests and roll in updated corpus tests as a result.
Created with:
roll-dep build
Change-Id: Id995a2d2895528bfa147d331c0acd30f54247987
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/71070
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Bruce Dawson <brucedawson@chromium.org>
diff --git a/DEPS b/DEPS
index c1b43b3..2763f39 100644
--- a/DEPS
+++ b/DEPS
@@ -20,7 +20,7 @@
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling build
# and whatever else without interference from each other.
- 'build_revision': 'd4fe00fc12323cf381e7ab144bfe7ead31de4cb7',
+ 'build_revision': '414118826cde1cf7eba01552f21f930bf0288b5e',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling buildtools
# and whatever else without interference from each other.
@@ -80,7 +80,7 @@
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling pdfium_tests
# and whatever else without interference from each other.
- 'pdfium_tests_revision': 'b4e9a126d289b49002d0f0acac71d1fdc26953b3',
+ 'pdfium_tests_revision': '79c60bac7af87b386fd3df557eb782383e612a3a',
# Three lines of non-changing comments so that
# the commit queue can handle CLs rolling skia
# and whatever else without interference from each other.
diff --git a/core/fpdfapi/render/fpdf_progressive_render_embeddertest.cpp b/core/fpdfapi/render/fpdf_progressive_render_embeddertest.cpp
index 7b27ddf..236d22f 100644
--- a/core/fpdfapi/render/fpdf_progressive_render_embeddertest.cpp
+++ b/core/fpdfapi/render/fpdf_progressive_render_embeddertest.cpp
@@ -450,7 +450,7 @@
// Test rendering of multiple ink with forced color scheme on.
#if defined(OS_WIN)
static constexpr char kMD5ContentWithInk[] =
- "542e5dc877a9ffdc4101ee3dc391c3b1";
+ "1933e4ab19b9108ddcecd1a6abb20c85";
#else // OS_MACOSX & OS_LINUX
static constexpr char kMD5ContentWithInk[] =
"797bce7dc6c50ee86b095405df9fe5aa";
diff --git a/fpdfsdk/fpdf_annot_embeddertest.cpp b/fpdfsdk/fpdf_annot_embeddertest.cpp
index 4dfee27..2689b19 100644
--- a/fpdfsdk/fpdf_annot_embeddertest.cpp
+++ b/fpdfsdk/fpdf_annot_embeddertest.cpp
@@ -555,8 +555,13 @@
EXPECT_EQ(681.535034f, rect.top);
}
{
+#if defined(OS_WIN)
+ static constexpr char kExpectedHash[] = "49d0a81c636531a337429325273d0508";
+#else
+ static constexpr char kExpectedHash[] = "354002e1c4386d38fdde29ef8d61074a";
+#endif
ScopedFPDFBitmap bitmap = RenderLoadedPageWithFlags(page, FPDF_ANNOT);
- CompareBitmap(bitmap.get(), 612, 792, "354002e1c4386d38fdde29ef8d61074a");
+ CompareBitmap(bitmap.get(), 612, 792, kExpectedHash);
}
UnloadPageNoEvents(page);
}