summaryrefslogtreecommitdiff
path: root/core/fpdfapi/edit/cpdf_flateencoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/edit/cpdf_flateencoder.cpp')
-rw-r--r--core/fpdfapi/edit/cpdf_flateencoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/edit/cpdf_flateencoder.cpp b/core/fpdfapi/edit/cpdf_flateencoder.cpp
index f8e2b5ad55..555da84244 100644
--- a/core/fpdfapi/edit/cpdf_flateencoder.cpp
+++ b/core/fpdfapi/edit/cpdf_flateencoder.cpp
@@ -14,12 +14,12 @@
CPDF_FlateEncoder::CPDF_FlateEncoder(CPDF_Stream* pStream, bool bFlateEncode)
: m_dwSize(0), m_pAcc(pdfium::MakeRetain<CPDF_StreamAcc>(pStream)) {
- m_pAcc->LoadAllData(true);
+ m_pAcc->LoadAllDataRaw();
bool bHasFilter = pStream && pStream->HasFilter();
if (bHasFilter && !bFlateEncode) {
auto pDestAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pStream);
- pDestAcc->LoadAllData();
+ pDestAcc->LoadAllDataFiltered();
m_dwSize = pDestAcc->GetSize();
m_pData = pDestAcc->DetachData();