diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/fpdfapi/render/cpdf_dibsource.cpp | 5 | ||||
-rw-r--r-- | core/fpdfapi/render/cpdf_dibsource.h | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/core/fpdfapi/render/cpdf_dibsource.cpp b/core/fpdfapi/render/cpdf_dibsource.cpp index fec439a689..0c69852354 100644 --- a/core/fpdfapi/render/cpdf_dibsource.cpp +++ b/core/fpdfapi/render/cpdf_dibsource.cpp @@ -705,8 +705,9 @@ bool CPDF_DIBSource::IsJBigImage() const { CPDF_DIBSource::LoadState CPDF_DIBSource::StartLoadMaskDIB() { m_pMask = pdfium::MakeRetain<CPDF_DIBSource>(); - LoadState ret = m_pMask->StartLoadDIBSource( - m_pDocument.Get(), m_pMaskStream.Get(), false, nullptr, nullptr, true); + LoadState ret = + m_pMask->StartLoadDIBSource(m_pDocument.Get(), m_pMaskStream.Get(), false, + nullptr, nullptr, true, 0, false); if (ret == LoadState::kContinue) { if (m_Status == LoadState::kFail) m_Status = LoadState::kContinue; diff --git a/core/fpdfapi/render/cpdf_dibsource.h b/core/fpdfapi/render/cpdf_dibsource.h index fc390c2f6f..597390cd18 100644 --- a/core/fpdfapi/render/cpdf_dibsource.h +++ b/core/fpdfapi/render/cpdf_dibsource.h @@ -68,9 +68,9 @@ class CPDF_DIBSource : public CFX_DIBSource { bool bHasMask, const CPDF_Dictionary* pFormResources, CPDF_Dictionary* pPageResources, - bool bStdCS = false, - uint32_t GroupFamily = 0, - bool bLoadMask = false); + bool bStdCS, + uint32_t GroupFamily, + bool bLoadMask); LoadState ContinueLoadDIBSource(PauseIndicatorIface* pPause); RetainPtr<CPDF_DIBSource> DetachMask(); |