diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-08-29 18:25:44 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-29 18:25:44 +0000 |
commit | 803cf76a5801536afe3ac2baad0f9a66ec27eeb6 (patch) | |
tree | 5a37abc17e7e5f8189e5681f500d73320ccbfe9c /core/fpdfapi/render | |
parent | d2e4698c5daeba74a231574d63a11a858920ea59 (diff) | |
download | pdfium-803cf76a5801536afe3ac2baad0f9a66ec27eeb6.tar.xz |
Remove FPDFAPI_ prefix from internal cid/encoder functions
These look too much like public/ FPDF functions otherwise and yet
they are not exposed anywhere beyond core/fpdfapi. Disambiguate
one method vs. top-level function usage as a result.
Bug: pdfium:1141
Change-Id: I9cfdfced90386bb9ef6b2b86f568f2e6f8ee6a5a
Reviewed-on: https://pdfium-review.googlesource.com/41530
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/render')
-rw-r--r-- | core/fpdfapi/render/cpdf_dibbase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fpdfapi/render/cpdf_dibbase.cpp b/core/fpdfapi/render/cpdf_dibbase.cpp index 70aea8e45b..a37a0aecd5 100644 --- a/core/fpdfapi/render/cpdf_dibbase.cpp +++ b/core/fpdfapi/render/cpdf_dibbase.cpp @@ -473,10 +473,10 @@ CPDF_DIBBase::LoadState CPDF_DIBBase::CreateDecoder() { pdfium::span<const uint8_t> src_span = m_pStreamAcc->GetSpan(); const CPDF_Dictionary* pParams = m_pStreamAcc->GetImageParam(); if (decoder == "CCITTFaxDecode") { - m_pDecoder = FPDFAPI_CreateFaxDecoder(src_span, m_Width, m_Height, pParams); + m_pDecoder = CreateFaxDecoder(src_span, m_Width, m_Height, pParams); } else if (decoder == "FlateDecode") { - m_pDecoder = FPDFAPI_CreateFlateDecoder(src_span, m_Width, m_Height, - m_nComponents, m_bpc, pParams); + m_pDecoder = CreateFlateDecoder(src_span, m_Width, m_Height, m_nComponents, + m_bpc, pParams); } else if (decoder == "RunLengthDecode") { CCodec_ModuleMgr* pEncoders = CPDF_ModuleMgr::Get()->GetCodecModule(); m_pDecoder = pEncoders->GetBasicModule()->CreateRunLengthDecoder( |