diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-27 23:27:29 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-27 23:27:29 +0000 |
commit | 991f5b7b5eb88844a66b488b86b0c5a0883f2e11 (patch) | |
tree | 969e31f33c2a31c7d962958d83c9b4fbdbcb19bb /core/fxcodec/codec/ccodec_basicmodule.h | |
parent | 55865454c43fbc3b163cff166544ba0a060dcbc4 (diff) | |
download | pdfium-991f5b7b5eb88844a66b488b86b0c5a0883f2e11.tar.xz |
Use pdfium::span<> in CCodec_RLScanlineDecoder
Change-Id: I3dc2dd54d89858722c2aea4b9e694308796b8274
Reviewed-on: https://pdfium-review.googlesource.com/41510
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxcodec/codec/ccodec_basicmodule.h')
-rw-r--r-- | core/fxcodec/codec/ccodec_basicmodule.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcodec/codec/ccodec_basicmodule.h b/core/fxcodec/codec/ccodec_basicmodule.h index 015f41a4a4..b07efd884f 100644 --- a/core/fxcodec/codec/ccodec_basicmodule.h +++ b/core/fxcodec/codec/ccodec_basicmodule.h @@ -10,14 +10,14 @@ #include <memory> #include "core/fxcrt/fx_system.h" +#include "third_party/base/span.h" class CCodec_ScanlineDecoder; class CCodec_BasicModule { public: std::unique_ptr<CCodec_ScanlineDecoder> CreateRunLengthDecoder( - const uint8_t* src_buf, - uint32_t src_size, + pdfium::span<const uint8_t> src_buf, int width, int height, int nComps, |