diff options
Diffstat (limited to 'devel/electron12/files/patch-pdf_pdfium_pdfium__engine.cc')
-rw-r--r-- | devel/electron12/files/patch-pdf_pdfium_pdfium__engine.cc | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/devel/electron12/files/patch-pdf_pdfium_pdfium__engine.cc b/devel/electron12/files/patch-pdf_pdfium_pdfium__engine.cc deleted file mode 100644 index 7bc9ba2b9dad..000000000000 --- a/devel/electron12/files/patch-pdf_pdfium_pdfium__engine.cc +++ /dev/null @@ -1,56 +0,0 @@ ---- pdf/pdfium/pdfium_engine.cc.orig 2021-04-14 01:08:53 UTC -+++ pdf/pdfium/pdfium_engine.cc -@@ -71,7 +71,7 @@ - #include "ui/gfx/geometry/vector2d.h" - #include "v8/include/v8.h" - --#if defined(OS_LINUX) || defined(OS_CHROMEOS) -+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) - #include "pdf/pdfium/pdfium_font_linux.h" - #endif - -@@ -468,7 +468,7 @@ void InitializeSDK(bool enable_v8) { - - FPDF_InitLibraryWithConfig(&config); - --#if defined(OS_LINUX) || defined(OS_CHROMEOS) -+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) - InitializeLinuxFontMapper(); - #endif - -@@ -527,7 +527,7 @@ PDFiumEngine::PDFiumEngine(PDFEngine::Client* client, - IFSDK_PAUSE::user = nullptr; - IFSDK_PAUSE::NeedToPauseNow = Pause_NeedToPauseNow; - --#if defined(OS_LINUX) || defined(OS_CHROMEOS) -+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) - // PreviewModeClient does not know its pp::Instance. - SetLastInstance(client_->GetPluginInstance()); - #endif -@@ -992,7 +992,7 @@ pp::Buffer_Dev PDFiumEngine::PrintPagesAsRasterPdf( - - KillFormFocus(); - --#if defined(OS_LINUX) || defined(OS_CHROMEOS) -+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) - SetLastInstance(client_->GetPluginInstance()); - #endif - -@@ -3123,7 +3123,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(); --#if defined(OS_LINUX) || defined(OS_CHROMEOS) -+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) - SetLastInstance(client_->GetPluginInstance()); - #endif - -@@ -3610,7 +3610,7 @@ void PDFiumEngine::SetCurrentPage(int index) { - FORM_DoPageAAction(old_page, form(), FPDFPAGE_AACTION_CLOSE); - } - most_visible_page_ = index; --#if defined(OS_LINUX) || defined(OS_CHROMEOS) -+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) - SetLastInstance(client_->GetPluginInstance()); - #endif - if (most_visible_page_ != -1 && called_do_document_action_) { |