summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffdoc.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-12-11 22:12:08 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-12-11 22:12:08 +0000
commit07401bae6d9f95911b144e6fabb42f19e40def49 (patch)
tree4c7aa56beadf3bc1540ecad781e62ec8b84be4e0 /xfa/fxfa/cxfa_ffdoc.cpp
parent4412f3d87441c135ef56420f18d9229fbe247c3e (diff)
downloadpdfium-07401bae6d9f95911b144e6fabb42f19e40def49.tar.xz
Remove default arguments to CPDF_StreamAcc::LoadAllData().
Add LoadAllDataFiltered() and LoadAllDataRaw() and update callers. Change-Id: I9b80ee34a358db204968acdc8b1adc9db0b6b83f Reviewed-on: https://pdfium-review.googlesource.com/20810 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffdoc.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffdoc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_ffdoc.cpp b/xfa/fxfa/cxfa_ffdoc.cpp
index 8ca1e95d87..3ff947ca4f 100644
--- a/xfa/fxfa/cxfa_ffdoc.cpp
+++ b/xfa/fxfa/cxfa_ffdoc.cpp
@@ -375,7 +375,7 @@ RetainPtr<CFX_DIBitmap> CXFA_FFDoc::GetPDFNamedImage(
return nullptr;
auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pStream);
- pAcc->LoadAllData();
+ pAcc->LoadAllDataFiltered();
RetainPtr<IFX_SeekableStream> pImageFileRead =
pdfium::MakeRetain<CFX_MemoryStream>(