diff options
Diffstat (limited to 'core/fpdfapi/fpdf_render/render_int.h')
-rw-r--r-- | core/fpdfapi/fpdf_render/render_int.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/fpdfapi/fpdf_render/render_int.h b/core/fpdfapi/fpdf_render/render_int.h index edbbad53c8..4494b8cefb 100644 --- a/core/fpdfapi/fpdf_render/render_int.h +++ b/core/fpdfapi/fpdf_render/render_int.h @@ -9,6 +9,7 @@ #include <map> #include <memory> +#include <vector> #include "core/fpdfapi/fpdf_page/cpdf_countedobject.h" #include "core/fpdfapi/fpdf_page/cpdf_graphicstates.h" @@ -618,8 +619,8 @@ class CPDF_DIBTransferFunc : public CFX_FilteredDIB { // CFX_FilteredDIB FXDIB_Format GetDestFormat() override; FX_ARGB* GetDestPalette() override; - void TranslateScanline(uint8_t* dest_buf, - const uint8_t* src_buf) const override; + void TranslateScanline(const uint8_t* src_buf, + std::vector<uint8_t>* dest_buf) const override; void TranslateDownSamples(uint8_t* dest_buf, const uint8_t* src_buf, int pixels, |