aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc
diff options
context:
space:
mode:
authorMatthias Wolf <freebsd@rheinwolf.de>2021-08-22 08:38:57 +0000
committerRene Ladan <rene@FreeBSD.org>2021-08-22 08:51:02 +0000
commit1a8f509f6d4073363b5a39a8da581e05dec4834c (patch)
tree8936c740a279de0ee24b07fada5e0f2f68f49fd9 /www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc
parentf302216145c10a30b4d11951a1611cb7725b8297 (diff)
downloadports-1a8f509f6d4073363b5a39a8da581e05dec4834c.tar.gz
ports-1a8f509f6d4073363b5a39a8da581e05dec4834c.zip
www/chromium: update to 92.0.4515.159
Mark broken on i386 for now, it does not compile there because of a ssize_t * vs off_t * mismatch. MFH: 2021Q3 Security: https://vuxml.freebsd.org/freebsd/128deba6-ff56-11eb-8514-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/c3c6c4a3-f47d-11eb-b632-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/76487640-ea29-11eb-a686-3065ec8fd3ec.html (cherry picked from commit 76daa653245e62b0f8e07ef4899c0a5bb176b3da)
Diffstat (limited to 'www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc')
-rw-r--r--www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc b/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc
index 5f7c80253a9d..bbae0e27e20a 100644
--- a/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc
+++ b/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc
@@ -1,6 +1,6 @@
---- pdf/pdfium/pdfium_engine.cc.orig 2021-05-12 22:05:58 UTC
+--- pdf/pdfium/pdfium_engine.cc.orig 2021-07-19 18:45:19 UTC
+++ pdf/pdfium/pdfium_engine.cc
-@@ -77,7 +77,7 @@
+@@ -84,7 +84,7 @@
#include "v8/include/cppgc/platform.h"
#endif
@@ -9,7 +9,7 @@
#include "pdf/pdfium/pdfium_font_linux.h"
#endif
-@@ -511,7 +511,7 @@ void InitializeSDK(bool enable_v8) {
+@@ -514,7 +514,7 @@ void InitializeSDK(bool enable_v8) {
FPDF_InitLibraryWithConfig(&config);
@@ -18,7 +18,7 @@
InitializeLinuxFontMapper();
#endif
-@@ -542,7 +542,7 @@ PDFiumEngine::PDFiumEngine(PDFEngine::Client* client,
+@@ -545,7 +545,7 @@ PDFiumEngine::PDFiumEngine(PDFEngine::Client* client,
IFSDK_PAUSE::user = nullptr;
IFSDK_PAUSE::NeedToPauseNow = Pause_NeedToPauseNow;
@@ -27,7 +27,7 @@
// PreviewModeClient does not know its pp::Instance.
SetLastInstance(client_->GetPluginInstance());
#endif
-@@ -999,7 +999,7 @@ pp::Buffer_Dev PDFiumEngine::PrintPagesAsRasterPdf(
+@@ -1003,7 +1003,7 @@ pp::Buffer_Dev PDFiumEngine::PrintPagesAsRasterPdf(
KillFormFocus();
@@ -36,7 +36,7 @@
SetLastInstance(client_->GetPluginInstance());
#endif
-@@ -3132,7 +3132,7 @@ bool PDFiumEngine::ContinuePaint(int progressive_index
+@@ -3154,7 +3154,7 @@ bool PDFiumEngine::ContinuePaint(int progressive_index
DCHECK_LT(static_cast<size_t>(progressive_index), progressive_paints_.size());
last_progressive_start_time_ = base::Time::Now();
@@ -45,7 +45,7 @@
SetLastInstance(client_->GetPluginInstance());
#endif
-@@ -3620,7 +3620,7 @@ void PDFiumEngine::SetCurrentPage(int index) {
+@@ -3643,7 +3643,7 @@ void PDFiumEngine::SetCurrentPage(int index) {
FORM_DoPageAAction(old_page, form(), FPDFPAGE_AACTION_CLOSE);
}
most_visible_page_ = index;