diff options
Diffstat (limited to 'www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc')
-rw-r--r-- | www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc b/www/chromium/files/patch-pdf_pdfium_pdfium__engine.cc index 29a00a2f4d8d..cb8b4afa79e3 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 2017-01-26 00:49:16 UTC +--- pdf/pdfium/pdfium_engine.cc.orig 2017-03-09 20:04:35 UTC +++ pdf/pdfium/pdfium_engine.cc -@@ -127,7 +127,7 @@ std::vector<uint32_t> GetPageNumbersFrom +@@ -129,7 +129,7 @@ std::vector<uint32_t> GetPageNumbersFrom return page_numbers; } @@ -9,7 +9,7 @@ PP_Instance g_last_instance_id; -@@ -629,7 +629,7 @@ bool InitializeSDK() { +@@ -642,7 +642,7 @@ bool InitializeSDK() { config.m_v8EmbedderSlot = gin::kEmbedderPDFium; FPDF_InitLibraryWithConfig(&config); @@ -18,7 +18,7 @@ // Font loading doesn't work in the renderer sandbox in Linux. FPDF_SetSystemFontInfo(&g_font_info); #else -@@ -654,7 +654,7 @@ bool InitializeSDK() { +@@ -667,7 +667,7 @@ bool InitializeSDK() { void ShutdownSDK() { FPDF_DestroyLibrary(); @@ -27,7 +27,7 @@ delete g_font_info; #endif TearDownV8(); -@@ -758,7 +758,7 @@ PDFiumEngine::PDFiumEngine(PDFEngine::Cl +@@ -772,7 +772,7 @@ PDFiumEngine::PDFiumEngine(PDFEngine::Cl IFSDK_PAUSE::user = nullptr; IFSDK_PAUSE::NeedToPauseNow = Pause_NeedToPauseNow; @@ -36,7 +36,7 @@ // PreviewModeClient does not know its pp::Instance. pp::Instance* instance = client_->GetPluginInstance(); if (instance) -@@ -1510,7 +1510,7 @@ pp::Buffer_Dev PDFiumEngine::PrintPagesA +@@ -1513,7 +1513,7 @@ pp::Buffer_Dev PDFiumEngine::PrintPagesA FPDF_ClosePage(pdf_page); } @@ -45,7 +45,7 @@ g_last_instance_id = client_->GetPluginInstance()->pp_instance(); #endif -@@ -2919,7 +2919,7 @@ bool PDFiumEngine::ContinuePaint(int pro +@@ -2936,7 +2936,7 @@ bool PDFiumEngine::ContinuePaint(int pro DCHECK_LT(static_cast<size_t>(progressive_index), progressive_paints_.size()); DCHECK(image_data); @@ -54,7 +54,7 @@ g_last_instance_id = client_->GetPluginInstance()->pp_instance(); #endif -@@ -3377,7 +3377,7 @@ void PDFiumEngine::SetCurrentPage(int in +@@ -3394,7 +3394,7 @@ void PDFiumEngine::SetCurrentPage(int in FORM_DoPageAAction(old_page, form_, FPDFPAGE_AACTION_CLOSE); } most_visible_page_ = index; |