summaryrefslogtreecommitdiff
path: root/core/fpdfapi
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-08-27 23:27:29 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-27 23:27:29 +0000
commit991f5b7b5eb88844a66b488b86b0c5a0883f2e11 (patch)
tree969e31f33c2a31c7d962958d83c9b4fbdbcb19bb /core/fpdfapi
parent55865454c43fbc3b163cff166544ba0a060dcbc4 (diff)
downloadpdfium-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/fpdfapi')
-rw-r--r--core/fpdfapi/render/cpdf_dibbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/render/cpdf_dibbase.cpp b/core/fpdfapi/render/cpdf_dibbase.cpp
index 9aa1ab40a6..a1fae05bda 100644
--- a/core/fpdfapi/render/cpdf_dibbase.cpp
+++ b/core/fpdfapi/render/cpdf_dibbase.cpp
@@ -482,7 +482,7 @@ CPDF_DIBBase::LoadState CPDF_DIBBase::CreateDecoder() {
} else if (decoder == "RunLengthDecode") {
CCodec_ModuleMgr* pEncoders = CPDF_ModuleMgr::Get()->GetCodecModule();
m_pDecoder = pEncoders->GetBasicModule()->CreateRunLengthDecoder(
- src_data, src_size, m_Width, m_Height, m_nComponents, m_bpc);
+ {src_data, src_size}, m_Width, m_Height, m_nComponents, m_bpc);
} else if (decoder == "DCTDecode") {
if (!CreateDCTDecoder(src_data, src_size, pParams))
return LoadState::kFail;